--- Yay, first not entirely trivial function. Apparently that double rounding yields the correct result here was suggested by Stephen Canon in https://stackoverflow.com/a/9689746/4755075 Should his contribution be mentioned somehow in the source code? src/math/i386/sqrtf.c | 8 ++++++++ src/math/i386/sqrtf.s | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 src/math/i386/sqrtf.c delete mode 100644 src/math/i386/sqrtf.s