Comment

Comment by jffhn

>Want to store 90 degrees in radians? No matter how many bits you use, it will never be exact.

That can be seen as a feature: cos(angRad) will never return zero, avoiding edge cases, and same with sin(angRad) if argument is not zero.

parent jffhn 2 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton