diff options
Diffstat (limited to 'newlib/libm/complex/ctanf.c')
-rw-r--r-- | newlib/libm/complex/ctanf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libm/complex/ctanf.c b/newlib/libm/complex/ctanf.c index 746dc6986..a75ff1c66 100644 --- a/newlib/libm/complex/ctanf.c +++ b/newlib/libm/complex/ctanf.c @@ -36,8 +36,6 @@ #include <math.h> #include "cephes_subrf.h" -#define MAXNUMF 1.0e38f - float complex ctanf(float complex z) { @@ -51,7 +49,7 @@ ctanf(float complex z) if (d == 0.0f) { /* mtherr ("ctan", OVERFLOW); */ - w = MAXNUMF + MAXNUMF * I; + w = HUGE_VALF + HUGE_VALF * I; return w; } |