Expand description
Hexadecimal float support for Rust 1.45 or later.
use hexf::{hexf32, hexf64};
assert_eq!(hexf32!("0x1.99999ap-4"), 0.1f32);
assert_eq!(hexf64!("0x1.999999999999ap-4"), 0.1f64);
Hexadecimal float support for Rust 1.45 or later.
use hexf::{hexf32, hexf64};
assert_eq!(hexf32!("0x1.99999ap-4"), 0.1f32);
assert_eq!(hexf64!("0x1.999999999999ap-4"), 0.1f64);