Hacker News new | past | comments | ask | show | jobs | submit login

> But those values are not needed for cosine which has a range of 0-1 in the interval 0 to pi/2

Ah not quite true though; the “range” is also referring to the exponent range of representable numbers, so don’t forget the small numbers near 0. You can get much smaller numbers with much higher precision out of a single-precision float than a fixed-point 64 bit [0,1] number.




Ah makes sense. I imagine depending one how you intend to use the numbers you need that precision at the steeper parts too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: