aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/print.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index 237bccc5a65..57193694f4a 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1,5 +1,5 @@
1/* Lisp object printing and output streams. 1/* Lisp object printing and output streams.
2 Copyright (C) 1985, 86, 88, 93, 94, 95 Free Software Foundation, Inc. 2 Copyright (C) 1985, 86, 88, 93, 94, 95, 97 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -73,6 +73,14 @@ Lisp_Object Vfloat_output_format, Qfloat_output_format;
73#ifndef DBL_DIG 73#ifndef DBL_DIG
74#define DBL_DIG 15 74#define DBL_DIG 15
75#endif 75#endif
76#ifndef DBL_MIN
77#define DBL_MIN 2.2250738585072014e-308
78#endif
79
80#ifdef DBL_MIN_REPLACEMENT
81#undef DBL_MIN
82#define DBL_MIN DBL_MIN_REPLACEMENT
83#endif
76 84
77/* Define DOUBLE_DIGITS_BOUND, an upper bound on the number of decimal digits 85/* Define DOUBLE_DIGITS_BOUND, an upper bound on the number of decimal digits
78 needed to express a float without losing information. 86 needed to express a float without losing information.