English 中文(简体)
Unix / Linux - Builtin Functions
  • 时间:2024-11-03

Unix / Linux - Shell Builtin Mathematical Functions


Previous Page Next Page  

The most of the part of this tutorial covered Bourne Shell but this page pst 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.

Sr.No. Function & Description
1

abs

Absolute value

2

log

Natural logarithm

3

acos

Arc cosine

4

sin

Sine

5

asin

Arc sine

6

sinh

Hyperbopc sine

7

cos

Cosine

8

sqrt

Square root

9

cosh

Hyperbopc cosine

10

tan

Tangent

11

exp

Exponential function

12

tanh

Hyperbopc tangent

13

int

Integer part of floating-point number

Advertisements