7.4.10 Mathematical functions

Mathematical functions are as follows.

Table 7.12

Mathematical Functions

Function/Macro Name

Outline

acos functions

Arc cosine

asin functions

Arc sine

atan functions

Arc tangent

atan2 functions

Arc tangent (y / x)

cos functions

Cosine

sin functions

Sine

tan functions

Tangent

cosh functions

Hyperbolic cosine

sinh functions

Hyperbolic sine

tanh functions

Hyperbolic tangent

exp functions

Exponent function

frexp functions

Divide floating-point number into mantissa and power

ldexp functions

Convert floating-point number to power

log functions

Logarithmic function (natural logarithm)

log10 functions

Logarithmic function (base = 10)

modf functions

Divide floating-point number into integer and decimal

fabs functions

Absolute value function

pow functions

Power function

sqrt functions

Square root function

ceil functions

ceiling function

floor functions

floor function

fmod functions

Remainder function

copysign functions

Combine sign and absolute value

fmax functions

Choose a greater value

fmin functions

Choose a less value