Module libm
Bindings to math functions provided by the system libm or by the libm crate, exposed
via compiler-builtins.
The functions in the root of this module are "guaranteed" to be available; see the
full_availability module in compiler-builtins for details.
Modules
-
likely_available
These symbols will be available when
stdis available, and on many no-std platforms. However, since this isn't a guarantee, we cannot rely on them for stable implementations. - maybe_available These symbols exist on some platforms but do not have a compiler-builtins fallback.
Functions
- cbrt
- cbrtf
- ceil
- ceilf
- ceilf128
- ceilf16
- copysign
- copysignf
- copysignf128
- copysignf16
- fabs
- fabsf
- fabsf128
- fabsf16
- fdim
- fdimf
- fdimf128
- fdimf16
- floor
- floorf
- floorf128
- floorf16
- fma
- fmaf
- fmaf128
- fmax
- fmaxf
- fmaxf128
- fmaxf16
- fmaximum
- fmaximumf
- fmaximumf128
- fmaximumf16
- fmin
- fminf
- fminf128
- fminf16
- fminimum
- fminimumf
- fminimumf128
- fminimumf16
- fmod
- fmodf
- fmodf128
- fmodf16
- rint
- rintf
- rintf128
- rintf16
- round
- roundeven
- roundevenf
- roundevenf128
- roundevenf16
- roundf
- roundf128
- roundf16
- sqrt
- sqrtf
- sqrtf128
- sqrtf16
- trunc
- truncf
- truncf128
- truncf16