hexf_parse

Function parse_hexf32

Source
pub fn parse_hexf32(
    s: &str,
    allow_underscore: bool,
) -> Result<f32, ParseHexfError>
Expand description

Tries to parse a hexadecimal float literal to f32. The underscore is allowed only when allow_underscore is true.