about summary refs log tree commit diff
path: root/math/s_ctanhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_ctanhl.c')
-rw-r--r--math/s_ctanhl.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/math/s_ctanhl.c b/math/s_ctanhl.c
index fb67b2bcc8..cc80cae516 100644
--- a/math/s_ctanhl.c
+++ b/math/s_ctanhl.c
@@ -124,16 +124,7 @@ __ctanhl (__complex__ long double x)
 	  __real__ res = sinhrx * coshrx / den;
 	  __imag__ res = sinix * cosix / den;
 	}
-      if (fabsl (__real__ res) < LDBL_MIN)
-	{
-	  long double force_underflow = __real__ res * __real__ res;
-	  math_force_eval (force_underflow);
-	}
-      if (fabsl (__imag__ res) < LDBL_MIN)
-	{
-	  long double force_underflow = __imag__ res * __imag__ res;
-	  math_force_eval (force_underflow);
-	}
+      math_check_force_underflow_complex (res);
     }
 
   return res;