in reply to perl arithmetic is killing me! HELP!
But if perl's integer is 8 bytes then, irrespective of whether I 'use integer', I get:LINE 1: 855638016 == 855638016 LINE 2: 855638016 == 855638016
Note that, in this instance, the "%d" in "LINE 1" is providing a signed 64-bit value because the perl integer is a 64-bit type.LINE 1: 855638016 == 5150605312 LINE 2: 855638016 == 855638016
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl arithmetic is killing me! HELP!
by marto (Cardinal) on Nov 07, 2018 at 12:46 UTC | |
|
Re^2: perl arithmetic is killing me! HELP!
by ikegami (Patriarch) on Nov 07, 2018 at 13:34 UTC | |
by syphilis (Archbishop) on Nov 08, 2018 at 07:58 UTC | |
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 | |
|