about summary refs log tree commit diff
path: root/math/s_catan.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_catan.c')
-rw-r--r--math/s_catan.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/math/s_catan.c b/math/s_catan.c
index 880473ba44..d9dc149088 100644
--- a/math/s_catan.c
+++ b/math/s_catan.c
@@ -131,16 +131,7 @@ __catan (__complex__ double x)
 	    }
 	}
 
-      if (fabs (__real__ res) < DBL_MIN)
-	{
-	  volatile double force_underflow = __real__ res * __real__ res;
-	  (void) force_underflow;
-	}
-      if (fabs (__imag__ res) < DBL_MIN)
-	{
-	  volatile double force_underflow = __imag__ res * __imag__ res;
-	  (void) force_underflow;
-	}
+      math_check_force_underflow_complex (res);
     }
 
   return res;