3 ms·
Post the code here, and educate us.
by blackrock 6y ago
Post the code here, and educate us.
- zokier 6y agomusl 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