W3cubDocs

/Rust

Constant std::f64::MIN_POSITIVE

pub const MIN_POSITIVE: f64 = f64::MIN_POSITIVE; // 2.2250738585072014E-308f64

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

Examples

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

// intended way
let min = f64::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/f64/constant.MIN_POSITIVE.html