3 ms·
https://code.woboq.org/userspace/glibc/sysdeps/ieee754/dbl-64/e_log.c.html https://code.woboq.org/userspace/glibc/sysdeps/ieee754/dbl-6... I don't see any loop
by slavik81 5y ago
https://code.woboq.org/userspace/glibc/sysdeps/ieee754/dbl-64/e_log.c.html https://code.woboq.org/userspace/glibc/sysdeps/ieee754/dbl-6...
I don't see any loops, but there are a number of branches. The code could probably be generalized using loops to support arbitrary precision, but I think any optimized implementation for a specific precision will have unrolled them.