Dear PDL devs,

This snippet of t/ops.t (I changed it to cmp_ok so I can see what the actual 
value is, see branch intmaxfix):

$INT_MAX=2147483647;
cmp_ok indx($INT_MAX*4)%2, '==', 0, 'big indx modulus';
cmp_ok double($INT_MAX*4)%2, '==', 0, 'big double modulus';

It passes on my 64-bit Linux Perl 5.20.1, but on my 64-bit Strawberry Perl 
5.20.0 gives these results:
#   Failed test 'big indx modulus'
#   at t/ops.t line 165.
#          got: 8589934592
#     expected: 0

#   Failed test 'big double modulus'
#   at t/ops.t line 168.
#          got: 12884901884
#     expected: 0

Derek, you last changed t/ops.t, do you have any insight on this? Is this a 
test problem, or an underlying code problem? Please feel free to push to my 
branch intmaxfix if you have code.

Best regards,
Ed
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to