Skip to main content

format_hex_float

Function format_hex_float 

Source
fn format_hex_float(val: f64) -> String
Expand description

Format a f64 as a C-style hex float string (matching R’s %a format).

Produces strings like “0x1.999999999999ap-4” for 0.1.