3 ms·
I am genuinely quite surprised that the sine approximation is the eyeball catcher in that entire repo. It will only take a 5-line PR to add Horner’s method and
by ashvardanian 2y ago
I am genuinely quite surprised that the sine approximation is the eyeball catcher in that entire repo.
It will only take a 5-line PR to add Horner’s method and Chebyshev’s polynomials and probably around 20 lines of explanations, and everyone passionate about the topic is welcome to add them.
There are more than enough examples in the libraries mentioned above ;)
- croemer 2y agoIt's eye catching because it's advertised as a 40x speedup without any caveats.
- ashvardanian 2y agoOh, I've missed that part. It's hard to fit README's bullet points on a single line, and I've probably removed too many relevant words. I'll update the README statement in a second, and already patched the sources to explicitly focus on the [-π/2, π/2] range. Thanks!