From 141c8d4ccb183365df8d392ae64cd69c4f0df8bf Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 6 Feb 2020 12:06:30 -0500 Subject: fix excess precision in return value of i386 acos[f] and asin[f] analogous to commit 1c9afd69051a64cf085c6fb3674a444ff9a43857 for atan[2][f]. --- src/math/i386/asinl.s | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/math/i386/asinl.s') diff --git a/src/math/i386/asinl.s b/src/math/i386/asinl.s index e07bf599..e973fc85 100644 --- a/src/math/i386/asinl.s +++ b/src/math/i386/asinl.s @@ -1 +1,12 @@ -# see asin.s +.global asinl +.type asinl,@function +asinl: + fldt 4(%esp) + fld %st(0) + fld1 + fsub %st(0),%st(1) + fadd %st(2) + fmulp + fsqrt + fpatan + ret -- cgit v1.2.1