Commit 5bf54166 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Flogb): Fix arg names. Don't confuse Lisp_Object with integer.

parent 6628c5ea
......@@ -624,10 +624,11 @@ This is the same as the exponent of a float.")
error ("SYSV apparently doesn't have a logb function; what to do?");
Lisp_Object val;
double f = extract_float (num);
int value;
double f = extract_float (arg);
IN_FLOAT (val = logb (f), "logb", num);
XSET (val, Lisp_Int, val);
IN_FLOAT (value = logb (f), "logb", arg);
XSET (val, Lisp_Int, value);
return val;
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