Explorar o código

correct rounding for i387 sqrtf function

Rich Felker %!s(int64=13) %!d(string=hai) anos
pai
achega
e0a54e6725
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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