about summary refs log tree commit diff
path: root/math/e_exp2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/e_exp2l.c')
-rw-r--r--math/e_exp2l.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/math/e_exp2l.c b/math/e_exp2l.c
index b8cd158b88..19c927811d 100644
--- a/math/e_exp2l.c
+++ b/math/e_exp2l.c
@@ -43,11 +43,7 @@ __ieee754_exp2l (long double x)
 	    result = __scalbnl (1.0L + fractx, intx);
 	  else
 	    result = __scalbnl (__ieee754_expl (M_LN2l * fractx), intx);
-	  if (result < LDBL_MIN)
-	    {
-	      long double force_underflow = result * result;
-	      math_force_eval (force_underflow);
-	    }
+	  math_check_force_underflow_nonneg (result);
 	  return result;
 	}
       else