Crate linux_api_math [] [src]

Low-level bindings to libm

Functions

acos

Returns the principal value of the arc cosine of x, expressed in radians.

acosf

Returns the principal value of the arc cosine of x, expressed in radians.

acosh

Returns the nonnegative arc hyperbolic cosine of x, expressed in radians.

acoshf

Returns the nonnegative arc hyperbolic cosine of x, expressed in radians.

asin

Returns the principal value of the arc sine of x, expressed in radians.

asinf

Returns the principal value of the arc sine of x, expressed in radians.

asinh

Returns the nonnegative arc hyperbolic sine of x, expressed in radians.

asinhf

Returns the nonnegative arc hyperbolic sine of x, expressed in radians.

atan

Returns the principal value of the arc tangent of x, expressed in radians.

atan2

Returns the principal value of the arc tangent of y / x, expressed in radians.

atan2f

Returns the principal value of the arc tangent of y / x, expressed in radians.

atanf

Returns the principal value of the arc tangent of x, expressed in radians.

atanh

Returns the nonnegative arc hyperbolic tangent of x, expressed in radians.

atanhf

Returns the nonnegative arc hyperbolic tangent of x, expressed in radians.

cos

Returns the cosine of an angle of X radians

cosf

Returns the cosine of an angle of X radians

cosh

Returns the hyperbolic cosine of an angle of X radians

coshf

Returns the hyperbolic cosine of an angle of X radians

exp

Returns the base-e exponential function of x, which is e raised to the power x: ex.

expf

Returns the base-e exponential function of x, which is e raised to the power x: ex.

llrint

Rounds a c_double to the nearest c_longlong

llrintf

Rounds a c_float to the nearest c_longlong

log

Returns the natural logarithm of x

logf

Returns the natural logarithm of x

lrint

Rounds a c_double to the nearest c_long

lrintf

Rounds a c_float to the nearest c_long

nearbyint

Rounds to an integer value in c_double format

nearbyintf

Rounds to an integer value in c_float format

remainder

Returns the floating-point remainder of numer / denom

remainderf

Returns the floating-point remainder of numer / denom

rint

Rounds to an integer value in c_double format

rintf

Rounds to an integer value in c_float format

sin

Returns the sine of an angle of x radians

sinf

Returns the sine of an angle of x radians

sinh

Returns the hyperbolic sine of an angle of x radians

sinhf

Returns the hyperbolic sine of an angle of x radians

tan

Returns the tangent of an angle of x radians

tanf

Returns the tangent of an angle of x radians

tanh

Returns the hyperbolic tangent of an angle of x radians

tanhf

Returns the hyperbolic tangent of an angle of x radians