Crate libm

source · []
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)
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 of x.
Absolute value (magnitude) (f32) Calculates the absolute value (magnitude) of the argument x, by direct manipulation of the bit representation of x.
Positive difference (f64)
Positive difference (f32)
Floor (f64)
Floor (f32)
Floating multiply add (f64)
Floating multiply add (f32)