in reply to Integer overflow in octal number
When you pass the argument for oct function, you have to specify the type of that number. Whether, it is octal, binary.
my @temp_reference_value = ("0b11111111111111111111111111111111", "0b1 +1111111111111111111111111111111");
change your line to above code and check it. It will work. By default, the argument take it as, octal. The highest octal number in 32 bit machine is, 037777777777. So the error was came.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Integer overflow in octal number
by Anonymous Monk on May 05, 2009 at 12:28 UTC |