Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/complex/ctanf.c')
-rw-r--r--newlib/libm/complex/ctanf.c4
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;
}