diff options
| author | Karl Heuer | 1995-05-20 03:36:53 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-20 03:36:53 +0000 |
| commit | c8bf6cf336aa03879d3e5e67422579f273637bae (patch) | |
| tree | f5148860416c8bc234864bcc7ae5b9b99c041699 /src | |
| parent | 2ba9ed587c518a772e9925d59c2dc96e05807d6d (diff) | |
| download | emacs-c8bf6cf336aa03879d3e5e67422579f273637bae.tar.gz emacs-c8bf6cf336aa03879d3e5e67422579f273637bae.zip | |
(Flogb): frexp needs a pointer to int, not EMACS_INT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/floatfns.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index 2471731c6d8..33186eaf377 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -684,8 +684,9 @@ This is the same as the exponent of a float.") | |||
| 684 | IN_FLOAT (value = logb (f), "logb", arg); | 684 | IN_FLOAT (value = logb (f), "logb", arg); |
| 685 | #else | 685 | #else |
| 686 | #ifdef HAVE_FREXP | 686 | #ifdef HAVE_FREXP |
| 687 | IN_FLOAT (frexp (f, &value), "logb", arg); | 687 | int ivalue; |
| 688 | value--; | 688 | IN_FLOAT (frexp (f, &ivalue), "logb", arg); |
| 689 | value = ivalue - 1; | ||
| 689 | #else | 690 | #else |
| 690 | int i; | 691 | int i; |
| 691 | double d; | 692 | double d; |