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(1tcl)-
returns the argument with the highest numeric value
min(1tcl)-
returns the argument with the lowest numeric value
random(1tcl)-
returns a pseudo-random positive integer
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004