* Function: InvRootR * * Description: use Newton's method to solve for x = 1/sqrt(r) * * Inputs: r in Q30 format, range = [0.25, 1] (normalize inputs to this range) * * Outputs: none * * Return: x = Q29, range = (1, 2) * * Notes: guaranteed to converge and not overflow for any r in this range * * xn+1 = xn - f(xn)/f'(xn) * f(x) = 1/sq
source not stored for this graph (policy: none)
no test coverage detected