The second one needs 61 bits and is outside float precision in Perl.
This shows the same result and that the exponentiation is the real "culprit".
DB<11> $x=1; $x*=3 for 1..38; say $x 1350851717672992089 DB<12>
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^6: Largest integer in 64-bit perl
by LanX
in thread Largest integer in 64-bit perl
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |