Hacker News new | ask | show | jobs
by Bostonian 1762 days ago
Why wouldn't you at least include the x^3 term in the Taylor series for abs(x) < 0.1?
1 comments

That's what I assumed would have been a reasonable optimization!

What I really found amazing was that rather than reducing the number of multiplications to 2 (to calculate x^3), you can reduce it to 0, and it would still do surprisingly well.