Copyright © tutorialspoint.com
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.
Function | Description |
---|---|
abs | Absolute value |
log | Natural logarithm |
acos | Arc cosine |
sin | Sine |
asin | Arc sine |
sinh | Hyperbolic sine |
cos | Cosine |
sqrt | Square root |
cosh | Hyperbolic cosine |
tan | Tangent |
exp | Exponential function |
tanh | Hyperbolic tangent |
int | Integer part of floating-point number |
Copyright © tutorialspoint.com