TL;DR: I explored how to implement cosine using a few different approaches. One of the implementations is nearly 3x faster than math.h if you are ok with 4 decimal places of precision.
Implementing cosine in C from scratch - Austin Z. Henley
Implementing cosine in C from scratch - Austin Z. Henley
Comments
Post a Comment