aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index b7d6412fdbf..61879eabe39 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -1,5 +1,5 @@
1/* Primitive operations on floating point for GNU Emacs Lisp interpreter. 1/* Primitive operations on floating point for GNU Emacs Lisp interpreter.
2 Copyright (C) 1988, 1993, 1994, 1999 Free Software Foundation, Inc. 2 Copyright (C) 1988, 1993, 1994, 1999, 2003 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -692,7 +692,7 @@ This is the same as the exponent of a float. */)
692 double f = extract_float (arg); 692 double f = extract_float (arg);
693 693
694 if (f == 0.0) 694 if (f == 0.0)
695 value = -(VALMASK >> 1); 695 value = MOST_NEGATIVE_FIXNUM;
696 else 696 else
697 { 697 {
698#ifdef HAVE_LOGB 698#ifdef HAVE_LOGB
@@ -1075,3 +1075,6 @@ syms_of_floatfns ()
1075 defsubr (&Sround); 1075 defsubr (&Sround);
1076 defsubr (&Struncate); 1076 defsubr (&Struncate);
1077} 1077}
1078
1079/* arch-tag: be05bf9d-049e-4e31-91b9-e6153d483ae7
1080 (do not change this comment) */