4 ms·
>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 zer
by jffhn 1mo ago
>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.