summaryrefslogtreecommitdiff
path: root/src/m
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>1997-10-29 07:47:37 +0000
committerPaul Eggert <eggert@twinsun.com>1997-10-29 07:47:37 +0000
commit13d603a9949f402c098cb9922dfe787bdcd82545 (patch)
tree26563a4f4a12490a864a33a3417a237efff8f555 /src/m
parentb0a1044b3ec84dd151a9f7b881c552bc4d44594a (diff)
downloademacs-13d603a9949f402c098cb9922dfe787bdcd82545.tar.gz
(DBL_MIN_REPLACEMENT): New macro.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/alpha.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index d62b9872de9..4440421e41a 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -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 @@ extern void r_alloc_free ();
#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