That's tricky: for a number that doesn't fit in UV (integer), Perl automatically stores it in NV (double) which can result in an immediate loss of precision.
See also $Config{nv_overflows_integers_at}:
$ uname -p x86_64 $ perl -MConfig -le 'print eval $Config{nv_overflows_integers_at}' 9007199254740992
In reply to Re^2: Number too big to fit in integer
by haukex
in thread Number too big to fit in integer
by jpl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |