Browse Source

correct rounding for i387 sqrtf function

Rich Felker 13 years ago
parent
commit
e0a54e6725
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/math/i386/sqrtf.s

+ 2 - 0
src/math/i386/sqrtf.s

@@ -2,4 +2,6 @@
 .type sqrtf,@function
 sqrtf:	flds 4(%esp)
 	fsqrt
+	fstps 4(%esp)
+	flds 4(%esp)
 	ret