|
Message-Id: <20200106174346.6489-1-amonakov@ispras.ru>
Date: Mon, 6 Jan 2020 20:43:46 +0300
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: [PATCH] math: move i386 sqrtf to C
---
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
View attachment "0004-math-move-i386-sqrtf-to-C.patch" of type "text/x-patch" (560 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.