in reply to Re^5: Largest integer in 64-bit perl
in thread Largest integer in 64-bit perl

The first result is identical, you are adding 1 in Fortran only.

The second one needs 61 bits and is outside float precision in Perl.

Edit

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