use bignum;
use warnings;
$x = 2**54 + 123; # 18014398509482107
$y = 2**54 + 125; # 18014398509482109
if($x + 2 == $y) {print "fine\n"}
else {print "crap\n"}
if($x == $y) {print "crap\n"}
else {print "fine\n"}
--->
fine
fine
In reply to Re^2: -Duse64bitint and (Cygwin) perl 5.8.7 (it's not how many bits, but how you use them)
by mersenne
in thread -Duse64bitint and (Cygwin) perl 5.8.7
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |