changeset 20201:09b52c2bc2f1

(DBL_MIN_REPLACEMENT): New macro.
author Paul Eggert <eggert@twinsun.com>
date Wed, 29 Oct 1997 07:47:37 +0000
parents b69f8ea35fef
children de9483a63b12
files src/m/alpha.h
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/alpha.h	Wed Oct 29 07:47:37 1997 +0000
+++ b/src/m/alpha.h	Wed Oct 29 07:47:37 1997 +0000
@@ -1,5 +1,5 @@
 /* machine description file For the alpha chip.
-   Copyright (C) 1994 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1997 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -319,3 +319,9 @@
 #if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__)
 #define HAVE_TEXT_START
 #endif
+
+/* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN:
+   they generate code that uses a signaling NaN instead of DBL_MIN.
+   Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN:
+   this avoids the assembler bug.  */
+#define DBL_MIN_REPLACEMENT 2.2250738585072019e-308