Module std::f64Stable
[-] [+]
[src]
Operations and constants for 64-bits floats (f64
type)
Modules
consts | Various useful constants. |
Constants
DIGITS | |
EPSILON | |
INFINITY | |
MANTISSA_DIGITS | |
MAX | Largest finite f64 value |
MAX_10_EXP | |
MAX_EXP | |
MAX_VALUE | Largest finite f64 value |
MIN | Smallest finite f64 value |
MIN_10_EXP | |
MIN_EXP | |
MIN_POSITIVE | Smallest positive, normalized f64 value |
MIN_POS_VALUE | Smallest positive, normalized f64 value |
MIN_VALUE | Smallest finite f64 value |
NAN | |
NEG_INFINITY | |
RADIX |
Functions
to_str_digits | Converts a float to a string with a maximum number of significant digits |
to_str_exact | Converts a float to a string with exactly the number of provided significant digits |
to_str_exp_digits | Converts a float to a string using the exponential notation with the maximum number of digits after the decimal point in the significand |
to_str_exp_exact | Converts a float to a string using the exponential notation with exactly the number of provided digits after the decimal point in the significand |
to_str_hex | Converts a float to a string in hexadecimal format |
to_str_radix_special | Converts a float to a string in a given radix, and a flag indicating whether it's a special value |
to_string | Converts a float to a string |