|
|
| There's more than one way to do things | |
| PerlMonks |
Re^4: Largest integer in 64-bit perlby syphilis (Archbishop) |
| on May 19, 2025 at 04:09 UTC ( [id://11165061]=note: print w/replies, xml ) | Need Help?? |
|
I would try to test the OP's problem that predecessor or successor are identical in numerical comparison. I haven't looked too closely, but I suspect that the fact that the power operator (**) always returns an NV might be causing problems. You might be better off using the << operator: The first one-liner results in 3 identical values; the second one-liner results in 3 different values. It's all just part of the fun we have when we use the utterly insane perl configuration where IV precision is greater than NV precision ;-) Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||