Maximum value of a number in TCL
Altair Forum User
Altair Employee
Hi friends,
I want to know value of maximum number that can be defined in tcl. At a intermediate step in calculation i have power value e.g. [pow(x,y)] , y as 200000 so calculation is quitting due to floating point error.
Suggest me if it can be done by any other way.
Thanks in advance
mandar
0
Answers
-
Dear Mandar,
You cane covert the number to scientific number (e.g. 12.12E+05). Use format command to do so. ANd also 'expr' 'wide' commands you can use
0 -
This means their is no limit for integer number.
0