Both of the following would get you the max int:Or with less obfuscation ...use constant MAX_INT => unpack('J', pack('j', -1)); use constant MAX_INT => 0+sprintf('%u', -1);
use constant MAXINT => ~0;
In reply to Re^2: Infinity and Inf?
by DrHyde
in thread Infinity and Inf?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |