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
Next topic:
Keyed lists
Previous topic:
File scanning commands
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003