]> code.delx.au - gnu-emacs/commitdiff
(Flogb): Don't use VALMASK.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 5 Nov 2003 16:45:11 +0000 (16:45 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 5 Nov 2003 16:45:11 +0000 (16:45 +0000)
src/floatfns.c

index 84a2dac7df65b32a9d364a81c5f66a3361a7dff8..61879eabe3909096ac3ada79e40b70cb66543b63 100644 (file)
@@ -1,5 +1,5 @@
 /* Primitive operations on floating point for GNU Emacs Lisp interpreter.
-   Copyright (C) 1988, 1993, 1994, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1993, 1994, 1999, 2003  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -692,7 +692,7 @@ This is the same as the exponent of a float.  */)
   double f = extract_float (arg);
 
   if (f == 0.0)
-    value = -(VALMASK >> 1);
+    value = MOST_NEGATIVE_FIXNUM;
   else
     {
 #ifdef HAVE_LOGB