Constant kvarn::prelude::internals::prelude::utils::prelude::compact_str::core::f64::INFINITY
1.0.0 · source · pub const INFINITY: f64 = f64::INFINITY; // +Inff64
👎Deprecating in a future Rust version: replaced by the <code>INFINITY</code> associated constant on <code>f64</code>
Available on non-crate feature
miri-test-libstd
only.Expand description
Infinity (∞).
Use f64::INFINITY
instead.
Examples
// deprecated way
let inf = std::f64::INFINITY;
// intended way
let inf = f64::INFINITY;