3 ms·
I was surprised to find log implementations are loopless. Cool. https://github.com/lattera/glibc/blob/master/sysdeps/ieee754/dbl-64/e_log.c https://github.com/
by seeknotfind 3y ago
I was surprised to find log implementations are loopless. Cool.
https://github.com/lattera/glibc/blob/master/sysdeps/ieee754/dbl-64/e_log.c https://github.com/lattera/glibc/blob/master/sysdeps/ieee754...
- zeroonetwothree 3y agoIt basically has the loop unrolled. But it looks like it’s evaluating a polynomial approximation so I suppose it makes sense