Skip to main content

parse_hex_float

Function parse_hex_float 

Source
fn parse_hex_float(s: &str) -> Result<f64, RError>
Expand description

Parse a C-style hex float string like “0x1.999999999999ap-4” into f64.

Format: [+-]0x<hex_mantissa>p[+-]<decimal_exponent>