Skip to main content

format_fp8_value

Function format_fp8_value 

Source
fn format_fp8_value(v: f64) -> String
Expand description

Format an f64 value as a string for FP8 display.

Handles special cases: NaN, infinity (with sign), and signed zero. Normal values use the shortest representation (decimal or scientific).