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:
parent
2ba9ed587c
commit
c8bf6cf336
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue