HN
Hacker News
Top
New
Best
Ask
Show
Jobs
A Tricky Floating-Point Calculation | Hacker News Reader
A Tricky Floating-Point Calculation
akr.am
2 points
·
thunderbong
·
·
1 comment
Open article
Save
View on HN
0xml
·
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.
Reply on news.ycombinator.com