Constant core::f32::MIN_POSITIVE

1.0.0 · source ·
pub const MIN_POSITIVE: f32 = f32::MIN_POSITIVE; // 1.17549435E-38f32
👎Deprecating in a future Rust version: replaced by the MIN_POSITIVE associated constant on f32
Expand description

最小正 f32 正值。 请改用 f32::MIN_POSITIVE

Examples

// 弃用的方式
let min = std::f32::MIN_POSITIVE;

// 预期的方式
let min = f32::MIN_POSITIVE;
Run