Unix - Shell Builtin Mathematical Functions

Advertisements


The most of the part of this tutorial covered Bourne Shell but this page list down all the mathematical builti-in functions available in Korn Shell.

The Korn shell provides access to the standard set of mathematical functions. They are called using C function call syntax.

FunctionDescription
absAbsolute value
logNatural logarithm
acosArc cosine
sinSine
asinArc sine
sinhHyperbolic sine
cosCosine
sqrtSquare root
coshHyperbolic cosine
tanTangent
expExponential function
tanhHyperbolic tangent
intInteger part of floating-point number


Advertisements
Advertisements