News for hackers. Stuff that matters.
Re:Cosine Implementation in C by hurrrrrrrr on Friday March 31, 2023 @11:31AM (#35388622)
Looks like angle sum identity.

    cos(x+y) = cos(x)*cos(y) - sin(x)*sin(y)     (always)
             ~ cos(x)*1      - sin(x)*y          (if y small)
Can't speak for the validity of small angle assumptions though.

There are no comments on this comment yet.