Module std::f32[src]
Operations and constants for 32-bits floats (f32 type)
Primitive Types
| f32 | Operations and constants for 32-bits floats ( |
Modules
| consts | Various useful constants. |
Statics
pub static DIGITS: uint = [definition] |
|
pub static EPSILON: f32 = [definition] |
|
pub static INFINITY: f32 = [definition] |
|
pub static MANTISSA_DIGITS: uint = [definition] |
|
pub static MAX_10_EXP: int = [definition] |
|
pub static MAX_EXP: int = [definition] |
|
pub static MAX_VALUE: f32 = [definition] |
|
pub static MIN_10_EXP: int = [definition] |
|
pub static MIN_EXP: int = [definition] |
|
pub static MIN_POS_VALUE: f32 = [definition] |
|
pub static MIN_VALUE: f32 = [definition] |
|
pub static NAN: f32 = [definition] |
|
pub static NEG_INFINITY: f32 = [definition] |
|
pub static RADIX: uint = [definition] |
Functions
| from_str_hex | Convert a string in base 16 to a float. Accepts an optional binary exponent. |
| to_str | Converts a float to a string |
| 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 |