Skip to main content

EXP_SHIFT

Constant EXP_SHIFT 

Source
pub const EXP_SHIFT: f32 = 12582912.0;
Expand description

0x1.8p23: adding this to x*log2(e) rounds it to an integer and parks that integer in the mantissa’s low bits.