in reply to Re^2: perl arithmetic is killing me! HELP!
in thread perl arithmetic is killing me! HELP!
And I expect the same output when I do:C:\> perl -Minteger -wle "$x = 4294967295 + 3;print $x;" 2
Alas, such handling of this corner case leaves me feeling uneasy about using the integer pragma at all.C:\> perl -Minteger -wle "$x = 4294967298;print $x;" 4294967298
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl arithmetic is killing me! HELP!
by ikegami (Patriarch) on Nov 08, 2018 at 08:06 UTC | |
by syphilis (Archbishop) on Nov 08, 2018 at 09:13 UTC | |
by ikegami (Patriarch) on Nov 09, 2018 at 13:28 UTC | |
by syphilis (Archbishop) on Nov 09, 2018 at 23:40 UTC |