Hacker News new | ask | show | jobs
by 0xml 717 days ago
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.