Module parse

Source
๐Ÿ”ฌThis is a nightly-only experimental API. (dec2flt)
Expand description

Functions to parse floating-point numbers.

Constantsยง

MIN_19DIGIT_INT ๐Ÿ”’ Experimental

Functionsยง

parse_8digits ๐Ÿ”’ Experimental
Parse 8 digits, loaded as bytes in little-endian order.
parse_inf_nan ๐Ÿ”’ Experimental
Try to parse a special, non-finite float.
parse_numberExperimental
Try to parse a non-special floating point number, as well as two slices with integer and fractional parts and the parsed exponent.
parse_partial_number ๐Ÿ”’ Experimental
Parse a partial, non-special floating point number.
parse_scientific ๐Ÿ”’ Experimental
Parse the scientific notation component of a float.
try_parse_19digits ๐Ÿ”’ Experimental
Parse up to 19 digits (the max that can be stored in a 64-bit integer).
try_parse_digits ๐Ÿ”’ Experimental
Parse digits until a non-digit character is found.