Crate libm

source ·
Expand description

A shim impelementation of the libm crate, binding directly to the in-tree libc’s versions of these functions.

Functions

Cube root
Decomposes given floating point value x into a normalized fraction and an integral power of two.
Multiplies an f64 arg by the number 2 raised to the exp power.
Multiplies an f32 arg by the number 2 raised to the exp power.
Returns the fractional and integral parts of an f64. The return ordering (fractional_part, integral_part) is based on the libm crate from crates.io.