Perl automatically switches to floating point representation² if the integer range is exceeded¹.
Oh yes you did an update showing the bits :)
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
¹) 2**31 < 900000000000000009 < 2**63
²) IIRC does Perl's FP mantissa have 56 bits so 7.2e+16 ~~ 2**56 < 900000000000000009 ~~ 9e+17
In reply to Re^2: Perl can't make some easy arithmetics :(
by LanX
in thread Perl can't make some easy arithmetics :(
by rsFalse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |