changeset 11859:8d57babf4b36

(Flogb): frexp needs a pointer to int, not EMACS_INT.
author Karl Heuer <kwzh@gnu.org>
date Sat, 20 May 1995 03:36:53 +0000
parents 343ec791e9be
children 0c39d1945e5e
files src/floatfns.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/floatfns.c	Fri May 19 21:53:18 1995 +0000
+++ b/src/floatfns.c	Sat May 20 03:36:53 1995 +0000
@@ -684,8 +684,9 @@
       IN_FLOAT (value = logb (f), "logb", arg);
 #else
 #ifdef HAVE_FREXP
-      IN_FLOAT (frexp (f, &value), "logb", arg);
-      value--;
+      int ivalue;
+      IN_FLOAT (frexp (f, &ivalue), "logb", arg);
+      value = ivalue - 1;
 #else
       int i;
       double d;