Y
Hacker News
new
|
ask
|
show
|
jobs
by
syrrim
1359 days ago
A simple example: suppose we want to compute cos(x)-1 near x=0, with high accuracy, in single precision fp. How to do this? Its very easy: google "taylor series for cosine", lobb off the fist term (1), and you're done.