Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Etherlord87
on March 9, 2024
|
parent
|
context
|
favorite
| on:
How do computers calculate sine?
That would be quite a big lookup table... Half of float numbers are in -1…+1 range. You don't need the negative part, so that's a quarter of float numbers, over one billion numbers. And then some to get from 1 to π/2.
And that's only float32!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
And that's only float32!