Commit c8bf6cf3 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Flogb): frexp needs a pointer to int, not EMACS_INT.

parent 2ba9ed58
......@@ -684,8 +684,9 @@ This is the same as the exponent of a float.")
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment