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/log1p.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/log1p.s')
-rw-r--r-- | src/math/i386/log1p.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/math/i386/log1p.s b/src/math/i386/log1p.s index 354f391a..f3c95f83 100644 --- a/src/math/i386/log1p.s +++ b/src/math/i386/log1p.s @@ -10,10 +10,14 @@ log1p: cmp $0x00100000,%eax jb 2f fyl2xp1 + fstpl 4(%esp) + fldl 4(%esp) ret 1: fld1 faddp fyl2x + fstpl 4(%esp) + fldl 4(%esp) ret # subnormal x, return x with underflow 2: fsts 4(%esp) |