correct rounding for i387 sqrtf function
authorRich Felker <dalias@aerifal.cx>
Wed, 14 Mar 2012 02:15:52 +0000 (22:15 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 14 Mar 2012 02:15:52 +0000 (22:15 -0400)
src/math/i386/sqrtf.s

index b79bd9491c80d07e6f78c8539354dbb03b026ef6..9e944f456253ebfb27644971102b10be3305536b 100644 (file)
@@ -2,4 +2,6 @@
 .type sqrtf,@function
 sqrtf: flds 4(%esp)
        fsqrt
+       fstps 4(%esp)
+       flds 4(%esp)
        ret