Module core::f32Stable
[-]
[+]
[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. |
Constants
pub const DIGITS: uint = 6u |
|
pub const EPSILON: f32 = 1.19209290e-07_f32 |
|
pub const INFINITY: f32 = 1.0_f32/0.0_f32 |
|
pub const MANTISSA_DIGITS: uint = 24u |
|
pub const MAX_10_EXP: int = 38 |
|
pub const MAX_EXP: int = 128 |
|
pub const MAX_VALUE: f32 = 3.40282347e+38_f32 |
Largest finite f32 value |
pub const MIN_10_EXP: int = -37 |
|
pub const MIN_EXP: int = -125 |
|
pub const MIN_POS_VALUE: f32 = 1.17549435e-38_f32 |
Smallest positive, normalized f32 value |
pub const MIN_VALUE: f32 = -3.40282347e+38_f32 |
Smallest finite f32 value |
pub const NAN: f32 = 0.0_f32/0.0_f32 |
|
pub const NEG_INFINITY: f32 = -1.0_f32/0.0_f32 |
|
pub const RADIX: uint = 2u |
Functions
| from_str_hex |