6 ms·
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.
by 0xml 2y 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.