changeset 53002:3e336113348d

(Flogb): Don't use VALMASK.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 05 Nov 2003 16:45:11 +0000
parents 06fd6a34f764
children 4635b0215ed8
files src/floatfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/floatfns.c	Wed Nov 05 16:00:38 2003 +0000
+++ b/src/floatfns.c	Wed Nov 05 16:45:11 2003 +0000
@@ -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 @@
   double f = extract_float (arg);
 
   if (f == 0.0)
-    value = -(VALMASK >> 1);
+    value = MOST_NEGATIVE_FIXNUM;
   else
     {
 #ifdef HAVE_LOGB