wasmtime_environ::__core::f32

Constant MANTISSA_DIGITS

1.6.0 · Source
pub const MANTISSA_DIGITS: u32 = f32::MANTISSA_DIGITS; // 24u32
👎Deprecating in a future version: replaced by the MANTISSA_DIGITS associated constant on f32
Expand description

Number of significant digits in base 2. Use f32::MANTISSA_DIGITS instead.

§Examples

// deprecated way
let d = std::f32::MANTISSA_DIGITS;

// intended way
let d = f32::MANTISSA_DIGITS;