changeset 20200:b69f8ea35fef

(DBL_MIN): Use workaround if DBL_MIN_REPLACEMENT is defined.
author Paul Eggert <eggert@twinsun.com>
date Wed, 29 Oct 1997 07:47:37 +0000
parents 70fcbe6a5e23
children 09b52c2bc2f1
files src/print.c
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Tue Oct 28 22:16:24 1997 +0000
+++ b/src/print.c	Wed Oct 29 07:47:37 1997 +0000
@@ -1,5 +1,5 @@
 /* Lisp object printing and output streams.
-   Copyright (C) 1985, 86, 88, 93, 94, 95 Free Software Foundation, Inc.
+   Copyright (C) 1985, 86, 88, 93, 94, 95, 97 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -73,6 +73,14 @@
 #ifndef DBL_DIG
 #define DBL_DIG 15
 #endif
+#ifndef DBL_MIN
+#define DBL_MIN 2.2250738585072014e-308
+#endif
+
+#ifdef DBL_MIN_REPLACEMENT
+#undef DBL_MIN
+#define DBL_MIN DBL_MIN_REPLACEMENT
+#endif
 
 /* Define DOUBLE_DIGITS_BOUND, an upper bound on the number of decimal digits
    needed to express a float without losing information.