Re:Reciprocal Approximation with 1 Subtraction
by magicalhippo on Monday December 30, 2024 @06:52AM
(#42548505)
It's a neat trick, and could be very useful on microcontrollers which doesn't have hardware division but does have hardware multiplication.
Re:Reciprocal Approximation with 1 Subtraction
by actionfromafar on Tuesday December 31, 2024 @08:42AM
(#42558637)
Hm, like 68000?
If you want full precision, you need to do three Newton-Raphson iterations after the initial approximation. One iteration is: