Provides access to floating-point mathematical functions from the system libm
.
Functions
_acos(x)
Calculates the arc-cosine of the radian input.
_acosh(x)
Calculates the inverse hyperbolic cosine of the input.
_asin(x)
Calculates the arc-sine of the radian input.
_asinh(x)
Calculates the inverse hyperbolic sine of the input.
_atan(x)
Calculates the arc-tangent of the radian input.
_atan2(x,y)
Calculates the arctangent of x
and y
_atanh(x)
Calculates the inverse hyperbolic tangent of the input.
_ceil(x)
Returns the smallest integer value not less than the input.
_copysign(x,y)
Copies the sign from x
to y
_cos(x)
Calculates the cosine of the radian input.
_cosh(x)
Calculates the hyperbolic cosine of the input.
_erf(x)
Calculates the error function of the input.
_erfc(x)
Calculates the complementary error function of the input.
_exp(x)
Returns the base-e exponentiation of the input.
_expm1(x)
Equivalent to exp(x) - 1
_floor(x)
Returns the largest integer value not greater than the input.
_fmod(x,y)
Returns the floating point remainder of x
over y
_frexp(x)
_isfinite(x)
Determines if the input is finite.
_isinf(x)
Determines if the input is infinite.
_isnan(x)
Determines if the input is the floating point NaN
.
_lgamma(x)
Calculates the log gamma of the input.
_log10(x)
Calculates the base-10 logarithm of the input.
_log1p(x)
Equivalent to log(x + 1)
_log2(x)
Calculates the base-2 logarithm of the input.
_pow(x,p)
Calculates x^p
_remainder()
Somehow different from fmod
.
_sin(x)
Calculates the sine of the radian input.
_sinh(x)
Calculates the hyperbolic sine of the input.
_sqrt(x)
Calculates the square root of the input.
_tan(x)
Calculates the tangent of the radian input.
_tanh(x)
Calculates the hyperbolic tangent of the input.
_tgamma(x)
Calculates the gamma of the input.
_trunc(x)
Rounds the input towards zero to an integer.