Expand description
Float (f64) and Float32 (f32). The transcendental functions keep the bare C names of
math.h and are computed by the libm crate; sqrt uses the exact f64::sqrt.
Functions§
- acos⚠
- acosf⚠
- acosh⚠
- acoshf⚠
- asin⚠
- asinf⚠
- asinh⚠
- asinhf⚠
- atan⚠
- atan2⚠
- atan2f⚠
- atanf⚠
- atanh⚠
- atanhf⚠
- cbrt⚠
- cbrtf⚠
- ceil⚠
- ceilf⚠
- cos⚠
- cosf⚠
- cosh⚠
- coshf⚠
- exp⚠
- exp2⚠
- exp2f⚠
- expf⚠
- fabs⚠
- fabsf⚠
- floor⚠
- floorf⚠
- fma⚠
- fmaf⚠
- lean_
float32_ ⚠add - lean_
float32_ ⚠beq - lean_
float32_ ⚠decLe - lean_
float32_ ⚠decLt - lean_
float32_ ⚠div - lean_
float32_ ⚠frexp (mantissa, exponent)with the exponent anInt(0 for non-finite values).- lean_
float32_ ⚠isfinite - lean_
float32_ ⚠isinf - lean_
float32_ ⚠isnan - lean_
float32_ ⚠mul - lean_
float32_ ⚠negate - lean_
float32_ ⚠of_ bits - Bit pattern to float; NaNs become the quiet NaN.
- lean_
float32_ ⚠scaleb a * 2^bfor anIntb(borrowed).- lean_
float32_ ⚠sub - lean_
float32_ ⚠to_ bits - Float to bit pattern; NaNs give the quiet NaN pattern.
- lean_
float32_ ⚠to_ float - lean_
float32_ ⚠to_ int8 - lean_
float32_ ⚠to_ int16 - lean_
float32_ ⚠to_ int32 - lean_
float32_ ⚠to_ int64 - lean_
float32_ ⚠to_ isize - lean_
float32_ ⚠to_ string - lean_
float32_ ⚠to_ uint8 - lean_
float32_ ⚠to_ uint16 - lean_
float32_ ⚠to_ uint32 - lean_
float32_ ⚠to_ uint64 - lean_
float32_ ⚠to_ usize - lean_
float_ ⚠add - lean_
float_ ⚠beq - lean_
float_ ⚠decLe - lean_
float_ ⚠decLt - lean_
float_ ⚠div - lean_
float_ ⚠frexp (mantissa, exponent)with the exponent anInt(0 for non-finite values).- lean_
float_ ⚠isfinite - lean_
float_ ⚠isinf - lean_
float_ ⚠isnan - lean_
float_ ⚠mul - lean_
float_ ⚠negate - lean_
float_ ⚠of_ bits - Bit pattern to float; NaNs become the quiet NaN.
- lean_
float_ ⚠scaleb a * 2^bfor anIntb(borrowed).- lean_
float_ ⚠sub - lean_
float_ ⚠to_ bits - Float to bit pattern; NaNs give the quiet NaN pattern.
- lean_
float_ ⚠to_ float32 - lean_
float_ ⚠to_ int8 - lean_
float_ ⚠to_ int16 - lean_
float_ ⚠to_ int32 - lean_
float_ ⚠to_ int64 - lean_
float_ ⚠to_ isize - lean_
float_ ⚠to_ string - lean_
float_ ⚠to_ uint8 - lean_
float_ ⚠to_ uint16 - lean_
float_ ⚠to_ uint32 - lean_
float_ ⚠to_ uint64 - lean_
float_ ⚠to_ usize - log⚠
- log2⚠
- log2f⚠
- log10⚠
- log10f⚠
- logf⚠
- pow⚠
- powf⚠
- round⚠
- roundf⚠
- sin⚠
- sinf⚠
- sinh⚠
- sinhf⚠
- sqrt⚠
- sqrtf⚠
- tan⚠
- tanf⚠
- tanh⚠
- tanhf⚠