]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix HUGE_VAL warnings
authorErik van der Kouwe <erik@minix3.org>
Tue, 18 Aug 2009 19:10:48 +0000 (19:10 +0000)
committerErik van der Kouwe <erik@minix3.org>
Tue, 18 Aug 2009 19:10:48 +0000 (19:10 +0000)
lib/ack/libp/exp.c
lib/ack/libp/log.c

index f1f78498a9be448d7056d6dc28a64941adc7bd9c..647ea5203073bb5e113cd0bb2dcfaf35f94d58e5 100755 (executable)
@@ -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)
index d5ba0e4e1f4f5a2036bba4a7c8213927996e7249..0f164fcbd8c91d20a63e26e6477f86e14c57f30d 100755 (executable)
@@ -16,7 +16,7 @@
 #include <float.h>
 #endif
 #undef HUGE
-#define HUGE   1e1000
+#define HUGE   HUGE_VAL
 
 double
 _log(x)