4 ms·
While it is right that errors are not represented evenly even on a logarithmic scale, it is still a useful approximation to make. In fact the integer value of
by sharikous 5y ago
While it is right that errors are not represented evenly even on a logarithmic scale, it is still a useful approximation to make.
In fact the integer value of the binary representation of a float approximates crudely the logarithm of the float. This was used in Quake's famous inverse square root approximation
- colejohnson66 5y agoA really good video on how that worked: https://www.youtube.com/watch?v=p8u_k2LIZyo https://www.youtube.com/watch?v=p8u_k2LIZyo