Expand description
Software implementations of all conversion functions that don’t use any floating point instructions.
Available on all platforms.
To avoid using any floating point instructions or registers, all functions
in this module take or return the bits of the floating point value as u32
or u64
instead of f32
or f64
.
Functions§
- f32_
to_ i8 - f32_
to_ i16 - f32_
to_ i32 - f32_
to_ i64 - f32_
to_ i128 - f32_
to_ u8 - f32_
to_ u16 - f32_
to_ u32 - f32_
to_ u64 - f32_
to_ u128 - f64_
to_ i8 - f64_
to_ i16 - f64_
to_ i32 - f64_
to_ i64 - f64_
to_ i128 - f64_
to_ u8 - f64_
to_ u16 - f64_
to_ u32 - f64_
to_ u64 - f64_
to_ u128 - i8_
to_ f32 - i8_
to_ f64 - i16_
to_ f32 - i16_
to_ f64 - i32_
to_ f64 - i32_
to_ f32_ round - i32_
to_ f32_ truncate - i64_
to_ f32_ round - i64_
to_ f32_ truncate - i64_
to_ f64_ round - i64_
to_ f64_ truncate - i128_
to_ f32_ round - i128_
to_ f32_ truncate - i128_
to_ f64_ round - i128_
to_ f64_ truncate - u8_
to_ f32 - u8_
to_ f64 - u16_
to_ f32 - u16_
to_ f64 - u32_
to_ f64 - u32_
to_ f32_ round - u32_
to_ f32_ truncate - u64_
to_ f32_ round - u64_
to_ f32_ truncate - u64_
to_ f64_ round - u64_
to_ f64_ truncate - u128_
to_ f32_ round - u128_
to_ f32_ truncate - u128_
to_ f64_ round - u128_
to_ f64_ truncate