in reply to Number too big to fit in integer
Perhaps this will help?
$ perl -le'print "oops!" if $ARGV[ 0 ] ne sprintf "%u", $ARGV[ 0 ]' 1 +8446744073709551615 $ perl -le'print "oops!" if $ARGV[ 0 ] ne sprintf "%u", $ARGV[ 0 ]' 1 +8446744073709551616 oops!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Number too big to fit in integer
by jpl (Monk) on Dec 25, 2022 at 00:18 UTC | |
by jwkrahn (Abbot) on Dec 25, 2022 at 00:56 UTC |