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

bug: perl -we "print 4294967296,4294967297" prints 01

From:
Vadim Konovalov
Date:
February 25, 2001 14:48
Subject:
bug: perl -we "print 4294967296,4294967297" prints 01
Message ID:
00d501c09f78$2e2b1080$2e7b55c2@vad
Perls built with BorlandC++ for Win32 when run with:
  perl -we "print 4294967296,4294967297"
print
  01

I tested both latest snapshot and 5.6.0 version - the same result.
:(
I've found this because of some additional tests that were added into
op/arith.t

Same perls compiled with MSVC++ behave correctly.

I will perform some deeper analyzis.

Can anyone share experience with that? Where should I begin bug hunting?

Best wishes,
<!ENTITY Vadim REALLIFE "St.Petersburg, Russia">
&Vadim;



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




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