achuth
December 18th, 2011, 06:45 AM
Is there any limit for the size of the number that I can use in an arithmetic operation in a shell script.
The following multiplication operation on very large numbers gives a negative sign also.
Enter two numbers
3216549876545216
65478987931354666
Product is -3449254379524228224
I am using ubuntu 11.10.
If there exists a limit on the numbers, then what is it?
The following multiplication operation on very large numbers gives a negative sign also.
Enter two numbers
3216549876545216
65478987931354666
Product is -3449254379524228224
I am using ubuntu 11.10.
If there exists a limit on the numbers, then what is it?