Function hexf_parse::parse_hexf32
[−]
[src]
pub fn parse_hexf32(
s: &str,
allow_underscore: bool
) -> Result<f32, ParseHexfError>
Tries to parse a hexadecimal float literal to f32
.
The underscore is allowed only when allow_underscore
is true.