Function Description
KML_MATH is a basic mathematical function library implemented by the C language.
Function Class |
Function |
Description |
|---|---|---|
Trigonometric function
|
sin |
Computes the sine of x. |
cos |
Computes the cosine of x. |
|
sincos |
Computes the sine and cosine of x. |
|
tan |
Computes the tangent of x. |
|
atan |
Computes the arc tangent of x. |
|
atan2 |
Computes the arc tangent of x. |
|
Exponential and logarithmic functions (Exponential and logarithmic functions) |
exp |
Computes the base-e exponential of x. |
exp2 |
Computes the base-2 exponential of x. |
|
log |
Computes the base-e logarithm of x. |
|
log2 |
Computes the base-2 logarithm of x. |
|
log10 |
Computes the base-10 logarithm of x. |
|
Power functions |
pow |
Raises x to the specified power. |
sqrt |
Computes the square root of x. |
Parent topic: KML_MATH Library Functions