diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-02-06 13:29:45 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-02-06 13:29:45 -0500 |
commit | ab9e20905dc1cb74d955cc94b5b76e6e1892b8fe (patch) | |
tree | 4d2e96393f6000dffab29c77474503a67d1c318a /src/math/i386/log1pf.s | |
parent | 141c8d4ccb183365df8d392ae64cd69c4f0df8bf (diff) | |
download | musl-ab9e20905dc1cb74d955cc94b5b76e6e1892b8fe.tar.gz musl-ab9e20905dc1cb74d955cc94b5b76e6e1892b8fe.tar.bz2 musl-ab9e20905dc1cb74d955cc94b5b76e6e1892b8fe.tar.xz musl-ab9e20905dc1cb74d955cc94b5b76e6e1892b8fe.zip |
fix excess precision in return value of i386 log-family functions
Diffstat (limited to 'src/math/i386/log1pf.s')
-rw-r--r-- | src/math/i386/log1pf.s | 4 |
1 files changed, 4 insertions, 0 deletions
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 |