Expand description
libm in pure Rust
Structs§
- Generic helper for libm functions, abstracting over f32 and f64.
Functions§
- Arccosine (f64)
- Arccosine (f32)
- Inverse hyperbolic cosine (f64)
- Inverse hyperbolic cosine (f32)
- Arcsine (f64)
- Arcsine (f32)
- Inverse hyperbolic sine (f64)
- Inverse hyperbolic sine (f32)
- Arctangent (f64)
- Arctangent of y/x (f64)
- Arctangent of y/x (f32)
- Arctangent (f32)
- Inverse hyperbolic tangent (f64)
- Inverse hyperbolic tangent (f32)
- Computes the cube root of the argument.
- Cube root (f32)
- Ceil (f64)
- Ceil (f32)
- Sign of Y, magnitude of X (f64)
- Sign of Y, magnitude of X (f32)
- The cosine of
x
(f64). - The cosine of
x
(f32). - Hyperbolic cosine (f64)
- Hyperbolic cosine (f64)
- Error function (f64)
- Complementary error function (f64)
- Complementary error function (f32)
- Error function (f32)
- Exponential, base e (f64)
- Exponential, base 2 (f64)
- Exponential, base 2 (f32)
- Exponential, base e (f32)
- Exponential, base e, of x-1 (f64)
- Exponential, base e, of x-1 (f32)
- Absolute value (magnitude) (f64) Calculates the absolute value (magnitude) of the argument
x
, by direct manipulation of the bit representation ofx
. - Absolute value (magnitude) (f32) Calculates the absolute value (magnitude) of the argument
x
, by direct manipulation of the bit representation ofx
. - Positive difference (f64)
- Positive difference (f32)
- Floor (f64)
- Floor (f32)
- Floating multiply add (f64)
- Floating multiply add (f32)
- Zeroth order of the Bessel function of the first kind (f64).
- Zeroth order of the Bessel function of the first kind (f32).
- First order of the Bessel function of the first kind (f64).
- First order of the Bessel function of the first kind (f32).
- Integer order of the Bessel function of the first kind (f64).
- Integer order of the Bessel function of the first kind (f32).
- The natural logarithm of
x
(f64). - The base 2 logarithm of
x
(f64). - The natural logarithm of 1+
x
(f64). - The natural logarithm of 1+
x
(f32). - The base 2 logarithm of
x
(f32). - The base 10 logarithm of
x
(f64). - The base 10 logarithm of
x
(f32). - The natural logarithm of
x
(f32). - Returns
x
to the power ofy
(f64). - Returns
x
to the power ofy
(f32). - The sine of
x
(f64). - Both the sine and cosine of
x
(f64). - Both the sine and cosine of
x
(f32). - The sine of
x
(f32). - The hyperbolic sine of
x
(f64). - The hyperbolic sine of
x
(f32). - The square root of
x
(f64). - The square root of
x
(f32). - The tangent of
x
(f64). - The tangent of
x
(f32). - The hyperbolic tangent of
x
(f64). - The hyperbolic tangent of
x
(f32). - Zeroth order of the Bessel function of the second kind (f64).
- Zeroth order of the Bessel function of the second kind (f32).
- First order of the Bessel function of the second kind (f64).
- First order of the Bessel function of the second kind (f32).
- Integer order of the Bessel function of the second kind (f64).
- Integer order of the Bessel function of the second kind (f32).