4 ms·
It’s an old article, so… guess I won’t beat a dead horse as much. * The range reduction is, well, probably worse than acos. Look for Payne–Hanek–Corbett. Not a
by arthur2e5 5y ago
It’s an old article, so… guess I won’t beat a dead horse as much.
* The range reduction is, well, probably worse than acos. Look for Payne–Hanek–Corbett. Not an issue for games, I assume.
* The LERP is nice and all, but Qt actually has an even better one: instead of doing a LERP, you use the local derivative also available from the lookup table. https://stackoverflow.com/a/52841086 https://stackoverflow.com/a/52841086
Others have already mentioned the Remez and the Horner stuff. Won’t repeat here.