Built-in Mathematical Functions (ksh93 Only)
ksh93 provides access to the standard set of mathematical functions. They are called using C function call syntax.
|
Name |
Function |
Name |
Function |
|
|
Absolute value |
|
Euclidean distance |
|
|
Arc cosine |
|
Integer part of floating-point number |
|
|
Arc sine |
|
Natural logarithm |
|
|
Arc tangent |
|
Exponentiation (x y) |
|
|
Arc tangent of two values |
|
Sine |
|
|
Cosine |
|
Hyperbolic sine |
|
|
Hyperbolic cosine |
|
Square root |
|
|
Exponential (e x) |
|
Tangent |
|
|
Floating-point remainder |
|
Hyperbolic tangent |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access