From ab9e20905dc1cb74d955cc94b5b76e6e1892b8fe Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 6 Feb 2020 13:29:45 -0500 Subject: fix excess precision in return value of i386 log-family functions --- src/math/i386/log1pf.s | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/math/i386/log1pf.s') diff --git a/src/math/i386/log1pf.s b/src/math/i386/log1pf.s index 4d3484cd..9f13d95f 100644 --- a/src/math/i386/log1pf.s +++ b/src/math/i386/log1pf.s @@ -10,10 +10,14 @@ log1pf: cmp $0x00800000,%eax jb 2f fyl2xp1 + fstps 4(%esp) + flds 4(%esp) ret 1: fld1 faddp fyl2x + fstps 4(%esp) + flds 4(%esp) ret # subnormal x, return x with underflow 2: fxch -- cgit v1.2.3-70-g09d2