diff options
Diffstat (limited to 'newlib/libm/complex/ctan.c')
-rw-r--r-- | newlib/libm/complex/ctan.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libm/complex/ctan.c b/newlib/libm/complex/ctan.c index 8a566b66b..fb0db3497 100644 --- a/newlib/libm/complex/ctan.c +++ b/newlib/libm/complex/ctan.c @@ -69,8 +69,6 @@ QUICKREF #include <math.h> #include "cephes_subr.h" -#define MAXNUM 1.0e308 - double complex ctan(double complex z) { @@ -84,7 +82,7 @@ ctan(double complex z) if (d == 0.0) { /* mtherr ("ctan", OVERFLOW); */ - w = MAXNUM + MAXNUM * I; + w = HUGE_VAL + HUGE_VAL * I; return w; } |