3 ms·
Why wouldn't you at least include the x^3 term in the Taylor series for abs(x) < 0.1?
by Bostonian 5y ago
Why wouldn't you at least include the x^3 term in the Taylor series for abs(x) < 0.1?
- ThePadawan 5y agoThat'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.