Thanks
for the reply but i didnt explain it very well.
Here is another example of the inconsistencey
tcl> expr 2147483648
-2147483648
Surely this is wrong and occurs for numbers between 2^31 and 2^-32.
Any ideas as to why this occurs?
WHy when i run the following command do i get the following error.
"
tcl> expr 20000000000
Error: integer value too large to represent"
But when i use a larger number it works fine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.