pub fn format<F: SupportedFloat>(value: F) -> StringExpand description
Format a floating point value using hexfloat syntax.
ยงExamples
assert_eq!(hexfloat2::format(100.0f32), "0x1.9p6");pub fn format<F: SupportedFloat>(value: F) -> StringFormat a floating point value using hexfloat syntax.
assert_eq!(hexfloat2::format(100.0f32), "0x1.9p6");