summaryrefslogtreecommitdiff
path: root/src/math/i386
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-13 22:15:52 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-13 22:15:52 -0400
commite0a54e6725eaa0b5aeb28e9815c310f70068d308 (patch)
treeb49bcb9629bf39e243c269a5434338eea9b93a91 /src/math/i386
parent291f839a440423a15487ba95822247adb2b098f6 (diff)
downloadmusl-e0a54e6725eaa0b5aeb28e9815c310f70068d308.tar.gz
musl-e0a54e6725eaa0b5aeb28e9815c310f70068d308.tar.bz2
musl-e0a54e6725eaa0b5aeb28e9815c310f70068d308.tar.xz
musl-e0a54e6725eaa0b5aeb28e9815c310f70068d308.zip
correct rounding for i387 sqrtf function
Diffstat (limited to 'src/math/i386')
-rw-r--r--src/math/i386/sqrtf.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/math/i386/sqrtf.s b/src/math/i386/sqrtf.s
index b79bd949..9e944f45 100644
--- a/src/math/i386/sqrtf.s
+++ b/src/math/i386/sqrtf.s
@@ -2,4 +2,6 @@
.type sqrtf,@function
sqrtf: flds 4(%esp)
fsqrt
+ fstps 4(%esp)
+ flds 4(%esp)
ret