develooper Front page | perl.perl5.porters | Postings from June 2001

Re: [ID 20010529.006] String plus zero inconsistent across platforms

Thread Previous | Thread Next
From:
Hugo
Date:
June 3, 2001 08:05
Subject:
Re: [ID 20010529.006] String plus zero inconsistent across platforms
Message ID:
200106031408.PAA15047@crypt.compulink.co.uk
:Third attempt; this passes all tests here with i64 + ld, and I'm
:working on testing the other combinations.

i32 + ld (which I've never tried before) gives me one test failure,
which I don't think is my fault:
crypt% ( cd t ; op/int.t )
1..14
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
not ok 8 # int(4294967303.15) is 4294967302, not 4294967303
not ok 9 # int(4294967303.15) is -4294967302, not -4294967303
ok 10
ok 11
ok 12
ok 13
ok 14
crypt% 

Nick, could this be related to your numeric conversion work?

Hugo

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About