From: Erik van der Kouwe Date: Tue, 18 Aug 2009 19:10:48 +0000 (+0000) Subject: Fix HUGE_VAL warnings X-Git-Tag: v3.1.5~178 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=192c0be4a8a5e7eee9f20944a0ee320d0aaf5c16;p=minix.git Fix HUGE_VAL warnings --- diff --git a/lib/ack/libp/exp.c b/lib/ack/libp/exp.c index f1f78498a..647ea5203 100755 --- a/lib/ack/libp/exp.c +++ b/lib/ack/libp/exp.c @@ -19,7 +19,7 @@ extern _trp(); #define M_DMINEXP DBL_MIN_EXP #endif #undef HUGE -#define HUGE 1e1000 +#define HUGE HUGE_VAL static double Ldexp(fl,exp) diff --git a/lib/ack/libp/log.c b/lib/ack/libp/log.c index d5ba0e4e1..0f164fcbd 100755 --- a/lib/ack/libp/log.c +++ b/lib/ack/libp/log.c @@ -16,7 +16,7 @@ #include #endif #undef HUGE -#define HUGE 1e1000 +#define HUGE HUGE_VAL double _log(x)