Commit 202bd7bf authored by Paul Eggert's avatar Paul Eggert
Browse files

Fix logb on zero, infinite, NaN args

Change logb to return -infinity, +infinity, and NaN respectively.
Formerly logb returned an extreme fixnum to represent
infinity, but this is no longer the right thing to do now that
we have bignums and there is no extreme integer.
* doc/lispref/numbers.texi (Float Basics), etc/NEWS: Document.
* src/floatfns.c (Flogb): Implement this.
parent b0b483d7
Pipeline #470 failed with stage
in 22 minutes and 9 seconds