/// Returns 2 to the x where x is a fraction [0,1)
Returns 2 to the x where x is a fraction [0,1)
Returns 2 to the x where x is a fraction [ 0 1 )
fn pow2_frac(x: f32) -> f32 {
    let n = (x * POW_LUT_SCALE) as usize;
    let x0 = POW_LUT_0[(n >> POW_LUT_BITS) & POW_LUT_MASK];
    let x1 = POW_LUT_1[n & POW_LUT_MASK];
    x0 * (x1 + 1.0)
}
fn pow2_frac ( x : f32 ) -> f32 { let n = ( x * POW_LUT_SCALE ) as usize ; let x0 = POW_LUT_0 [ ( n >> POW_LUT_BITS ) & POW_LUT_MASK ] ; let x1 = POW_LUT_1 [ n & POW_LUT_MASK ] ; x0 * ( x1 + 1.0 ) }
Returns 2 to the x where x is a fraction [0,1)
Returns 2 to the x where x is a fraction [ 0 1 )
x
f32