W3cubDocs

/Rust

Constant std::f32::MIN_POSITIVE

pub const MIN_POSITIVE: f32 = f32::MIN_POSITIVE; // 1.17549435E-38f32

Smallest positive normal f32 value. Use f32::MIN_POSITIVE instead.

Examples

// deprecated way
let min = std::f32::MIN_POSITIVE;

// intended way
let min = f32::MIN_POSITIVE;

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/f32/constant.MIN_POSITIVE.html