本教程的一部分覆蓋Bourne Shell的,但此頁面列表下的所有內(nèi)置的數(shù)學(xué)Korn Shell 中可用函數(shù)。
Korn Shell的提供一套標(biāo)準(zhǔn)的數(shù)學(xué)函數(shù)。他們被稱為使用C 函數(shù)調(diào)用語法。
| 函數(shù) | 描述 |
|---|---|
| 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-yiibai number |