Searched refs:invsqrt (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/net/altq/
H A Daltq_codel.c358 * new_invsqrt = (invsqrt / 2) * (3 - count * invsqrt^2)
360 * Here, invsqrt is a fixed point number (< 1.0), 32bit mantissa, aka Q0.32
365 uint32_t invsqrt, invsqrt2; local
373 invsqrt = ((u_int32_t)vars->rec_inv_sqrt) << REC_INV_SQRT_SHIFT;
374 invsqrt2 = ((u_int64_t)invsqrt * invsqrt) >> 32;
377 val = (val * invsqrt) >> (32 - 2 + 1);

Completed in 62 milliseconds