Module core::f32[src]

Operations and constants for 32-bits floats (f32 type)

Primitive Types

f32

Operations and constants for 32-bits floats (f32 type)

Modules

consts

Various useful constants.

Statics

pub static DIGITS: uint = 6u  
pub static EPSILON: f32 = 1.19209290e-07_f32  
pub static INFINITY: f32 = 1.0_f32/0.0_f32  
pub static MANTISSA_DIGITS: uint = 24u  
pub static MAX_10_EXP: int = 38  
pub static MAX_EXP: int = 128  
pub static MAX_VALUE: f32 = 3.40282347e+38_f32

Largest finite f32 value

 
pub static MIN_10_EXP: int = -37  
pub static MIN_EXP: int = -125  
pub static MIN_POS_VALUE: f32 = 1.17549435e-38_f32

Smallest positive, normalized f32 value

 
pub static MIN_VALUE: f32 = -3.40282347e+38_f32

Smallest finite f32 value

 
pub static NAN: f32 = 0.0_f32/0.0_f32  
pub static NEG_INFINITY: f32 = -1.0_f32/0.0_f32  
pub static RADIX: uint = 2u