From e0a54e6725eaa0b5aeb28e9815c310f70068d308 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 13 Mar 2012 22:15:52 -0400 Subject: [PATCH] correct rounding for i387 sqrtf function --- src/math/i386/sqrtf.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/math/i386/sqrtf.s b/src/math/i386/sqrtf.s index b79bd949..9e944f45 100644 --- a/src/math/i386/sqrtf.s +++ b/src/math/i386/sqrtf.s @@ -2,4 +2,6 @@ .type sqrtf,@function sqrtf: flds 4(%esp) fsqrt + fstps 4(%esp) + flds 4(%esp) ret -- 2.25.1