|
|
|
|
|
by AlotOfReading
532 days ago
|
|
A better value is 0x7eb504f3. You can follow that up with Newton-raphson to refine the approximation, or approximate the Newton-raphson too by multiplying 1.385356f*x. I did this a few days ago in the approximate division thread:
https://news.ycombinator.com/item?id=42481612#42489596 In some cases, it can be faster than hardware division. |
|