Searched refs:invsqrt (Results 1 – 2 of 2) sorted by relevance
82 u32 invsqrt = ((u32)vars->rec_inv_sqrt) << REC_INV_SQRT_SHIFT; in codel_Newton_step() local83 u32 invsqrt2 = ((u64)invsqrt * invsqrt) >> 32; in codel_Newton_step()87 val = (val * invsqrt) >> (32 - 2 + 1); in codel_Newton_step()
397 * new_invsqrt = (invsqrt / 2) * (3 - count * invsqrt^2)399 * Here, invsqrt is a fixed point number (< 1.0), 32bit mantissa, aka Q0.32404 u32 invsqrt, invsqrt2; in cobalt_newton_step() local 407 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() 526 * both the '0' and '1' entries in the invsqrt cache are 0xFFFFFFFF, as close in cobalt_should_drop()