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/catanf.c')
-rw-r--r--newlib/libm/complex/catanf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libm/complex/catanf.c b/newlib/libm/complex/catanf.c
index bba0f7730..ac1a65c08 100644
--- a/newlib/libm/complex/catanf.c
+++ b/newlib/libm/complex/catanf.c
@@ -40,8 +40,6 @@
__weak_alias(catanf, _catanf)
#endif
-#define MAXNUMF 1.0e38F
-
float complex
catanf(float complex z)
{
@@ -76,6 +74,6 @@ ovrf:
#if 0
mtherr ("catan", OVERFLOW);
#endif
- w = MAXNUMF + MAXNUMF * I;
+ w = HUGE_VALF + HUGE_VALF * I;
return w;
}