Yes, I’ve been able to confirm that: https://github.com/PDLPorters/pdl/pull/75
Thanks! I’ll be TODO-ing that and once I’ve got a review and green light from
Travis (and my local test on Win32) I’ll be merging.
From: Chris Marshall
Sent: Sunday, March 15, 2015 5:55 PM
To: Ed ; pdl-devel
Subject: Re: [Pdl-devel] t/ops.t fail on 64-bit Strawberry Perl
I think Rob determined that these failures are the same as for PDL-2.007.
I recommend marking them TODO and address with PDL-2.009. I think
that the source of the error is in the remaining 64bit index support work...
--Chris
On 3/15/2015 12:43, Ed wrote:
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
------------------------------------------------------------------------------
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