Browse Source

correct rounding for i387 sqrtf function

Rich Felker 13 năm trước cách đây
mục cha
commit
e0a54e6725
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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