Hacker News new | past | comments | ask | show | jobs | submit login
A Tricky Floating-Point Calculation (akr.am)
2 points by thunderbong 7 months ago | hide | past | favorite | 1 comment



Let x=1/d, then compute the Taylor series at x=0 and take the first 2 or 3 terms. It should be accurate and fast enough.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: