3 ms·
musl sqrt is here, about hundred lines of code with nice explanation on top. Considering that it has 1993 copyright stamp, I'd imagine it is fairly canonical im
by zokier 6y ago
musl sqrt is here, about hundred lines of code with nice explanation on top. Considering that it has 1993 copyright stamp, I'd imagine it is fairly canonical implementation
https://git.musl-libc.org/cgit/musl/tree/src/math/sqrt.c https://git.musl-libc.org/cgit/musl/tree/src/math/sqrt.c