diff options
Diffstat (limited to 'newlib/libm/complex/catan.c')
-rw-r--r-- | newlib/libm/complex/catan.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libm/complex/catan.c b/newlib/libm/complex/catan.c index 2cb91bb08..bf9ea01ff 100644 --- a/newlib/libm/complex/catan.c +++ b/newlib/libm/complex/catan.c @@ -91,8 +91,6 @@ QUICKREF __weak_alias(catan, _catan) #endif -#define MAXNUM 1.0e308 - double complex catan(double complex z) { @@ -127,6 +125,6 @@ ovrf: #if 0 mtherr ("catan", OVERFLOW); #endif - w = MAXNUM + MAXNUM * I; + w = HUGE_VAL + HUGE_VAL * I; return w; } |