Searched refs:invsqrt (Results 1 – 2 of 2) sorted by relevance
76 * new_invsqrt = (invsqrt / 2) * (3 - count * invsqrt^2)78 * Here, invsqrt is a fixed point number (< 1.0), 32bit mantissa, aka Q0.3282 u32 invsqrt = ((u32)vars->rec_inv_sqrt) << REC_INV_SQRT_SHIFT; in codel_Newton_step() local 83 u32 invsqrt2 = ((u64)invsqrt * invsqrt) >> 32; in codel_Newton_step() 87 val = (val * invsqrt) >> (32 - 2 + 1); in codel_Newton_step()
404 u32 invsqrt, invsqrt2; in cobalt_newton_step() local407 invsqrt = vars->rec_inv_sqrt; in cobalt_newton_step()408 invsqrt2 = ((u64)invsqrt * invsqrt) >> 32; in cobalt_newton_step()412 val = (val * invsqrt) >> (32 - 2 + 1); in cobalt_newton_step()