summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/inline.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-01-06 16:23:41 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-01-06 16:25:40 -0800
commit202bd7bff2710b98cde4ae4b6e1f6de9818591f8 (patch)
tree5b58e9df997c158ccd6887a1c5ac81533040744f /lisp/emacs-lisp/inline.el
parentb0b483d714e87ee0a4572f9c541514a1ac1a8226 (diff)
downloademacs-202bd7bff2710b98cde4ae4b6e1f6de9818591f8.tar.gz
emacs-202bd7bff2710b98cde4ae4b6e1f6de9818591f8.tar.bz2
emacs-202bd7bff2710b98cde4ae4b6e1f6de9818591f8.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions