diff options
Diffstat (limited to 'math/erff.c')
-rw-r--r-- | math/erff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/erff.c b/math/erff.c index 9b9ccc2..a58e825 100644 --- a/math/erff.c +++ b/math/erff.c @@ -45,7 +45,7 @@ erff (float x) { /* |x| < 2^(-28). */ if (unlikely (ia12 < 0x040)) { /* |x| < 2^(-119). */ - float y = x + TwoOverSqrtPiMinusOne * x; + float y = fmaf (TwoOverSqrtPiMinusOne, x, x); return check_uflowf (y); } return x + TwoOverSqrtPiMinusOne * x; |