Function hexf_parse::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.