[][src]Module floatconv::soft

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
i128_to_f32_round
i128_to_f32_truncate
i128_to_f64_round
i128_to_f64_truncate
i16_to_f32
i16_to_f64
i32_to_f32_round
i32_to_f32_truncate
i32_to_f64
i64_to_f32_round
i64_to_f32_truncate
i64_to_f64_round
i64_to_f64_truncate
i8_to_f32
i8_to_f64
u128_to_f32_round
u128_to_f32_truncate
u128_to_f64_round
u128_to_f64_truncate
u16_to_f32
u16_to_f64
u32_to_f32_round
u32_to_f32_truncate
u32_to_f64
u64_to_f32_round
u64_to_f32_truncate
u64_to_f64_round
u64_to_f64_truncate
u8_to_f32
u8_to_f64