4 ms·
Yes, but what is nontrivial here is how good the approximation is, despite the mantissa part being linear (much better than the upper bound of being within 2x o
by Sharlin 2y ago
Yes, but what is nontrivial here is how good the approximation is, despite the mantissa part being linear (much better than the upper bound of being within 2x of the real value).
- shiandow 2y agoNontrivial yes, but it's not that complicated to figure out that floats are a piecewise linear approximation of the base 2 logarithm. Edit: or base 2^k, depends a bit how you view it.