Parses hexadecimal float literals.
There are two functions parse_hexf32
and parse_hexf64
provided for each type.
use *;
assert_eq!;
assert_eq!;
An additional bool
parameter can be set to true if you want to allow underscores.
use *;
assert!;
assert_eq!;
The error is reported via an opaque ParseHexfError
type.