Comment by seeknotfind
2 years ago
I was surprised to find log implementations are loopless. Cool.
https://github.com/lattera/glibc/blob/master/sysdeps/ieee754...
2 years ago
I was surprised to find log implementations are loopless. Cool.
https://github.com/lattera/glibc/blob/master/sysdeps/ieee754...
It basically has the loop unrolled. But it looks like it’s evaluating a polynomial approximation so I suppose it makes sense