You overflow int if you force it:
$ perl -e '$c=3000000000000011|0;print "$c\n"' 4294967295
and fp epsilon drowns the last digit you want, so:
use Math::BigInt $c = Math::BigInt->new('3000000000000011'); print "$c\n";
After Compline,
Zaxo
In reply to Re: Handling large numbers
by Zaxo
in thread Handling large numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |