DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
(TCL) commands by type

Math commands

The following procedures provide command interfaces to the expr math functions. They take the same arguments as the expr functions and may take expressions as arguments:

abs acos asin atan atan2
ceil cos cosh double exp
floor fmod hypot int log10
log pow round sin sinh
sqrt tan tanh    
In addition, these math commands are available:


max(TCL)
returns the argument with the highest numeric value

min(TCL)
returns the argument with the lowest numeric value

random(TCL)
returns a pseudo-random positive integer

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005