Module math

Module math 

Source
Available on crate feature math only.
Expand description

High level math operations.

This library provides access to math functions that require the use of the “std” feature.

Functions§

nstd_math_abs_f32
Returns the absolute value of x.
nstd_math_abs_f64
Returns the absolute value of x.
nstd_math_acos_f32
Computes the arccosine of x.
nstd_math_acos_f64
Computes the arccosine of x.
nstd_math_asin_f32
Computes the arcsine of x.
nstd_math_asin_f64
Computes the arcsine of x.
nstd_math_atan2_f32
Computes the four quadrant arctangent of x & y.
nstd_math_atan2_f64
Computes the four quadrant arctangent of x & y.
nstd_math_atan_f32
Computes the arctangent of x.
nstd_math_atan_f64
Computes the arctangent of x.
nstd_math_ceil_f32
Rounds the value x up to the closest integral value.
nstd_math_ceil_f64
Rounds the value x up to the closest integral value.
nstd_math_cos_f32
Computes the cosine of x.
nstd_math_cos_f64
Computes the cosine of x.
nstd_math_cosh_f32
Computes the hyperbolic cosine of x.
nstd_math_cosh_f64
Computes the hyperbolic cosine of x.
nstd_math_floor_f32
Rounds the value x down to the closest integral value.
nstd_math_floor_f64
Rounds the value x down to the closest integral value.
nstd_math_pow_f32
Raises x to an integral power.
nstd_math_pow_f64
Raises x to an integral power.
nstd_math_sin_f32
Computes the sine of x.
nstd_math_sin_f64
Computes the sine of x.
nstd_math_sinh_f32
Computes the hyperbolic sine of x.
nstd_math_sinh_f64
Computes the hyperbolic sine of x.
nstd_math_sqrt_f32
Computes the square root of x.
nstd_math_sqrt_f64
Computes the square root of x.
nstd_math_tan_f32
Computes the tangent of x.
nstd_math_tan_f64
Computes the tangent of x.
nstd_math_tanh_f32
Computes the hyperbolic tangent of x.
nstd_math_tanh_f64
Computes the hyperbolic tangent of x.