1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00

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

This commit is contained in:
Karl Heuer 1995-05-20 03:36:53 +00:00
parent 2ba9ed587c
commit c8bf6cf336

View file

@ -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;