Przeglądaj źródła

correct rounding for i387 sqrtf function

Rich Felker 13 lat temu
rodzic
commit
e0a54e6725
1 zmienionych plików z 2 dodań i 0 usunięć
  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