Fix HUGE_VAL warnings

This commit is contained in:
Erik van der Kouwe 2009-08-18 19:10:48 +00:00
parent d81563a9b1
commit 192c0be4a8
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ extern _trp();
#define M_DMINEXP DBL_MIN_EXP #define M_DMINEXP DBL_MIN_EXP
#endif #endif
#undef HUGE #undef HUGE
#define HUGE 1e1000 #define HUGE HUGE_VAL
static double static double
Ldexp(fl,exp) Ldexp(fl,exp)

View File

@ -16,7 +16,7 @@
#include <float.h> #include <float.h>
#endif #endif
#undef HUGE #undef HUGE
#define HUGE 1e1000 #define HUGE HUGE_VAL
double double
_log(x) _log(x)