]> code.delx.au - gnu-emacs/commit
(/ N) now returns the reciprocal of N
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Oct 2015 01:16:47 +0000 (18:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Oct 2015 01:22:48 +0000 (18:22 -0700)
commite9af822ac3ddf9644aa4a68e56b0580e133449b2
tree55b2ae836adac54903d43ee77e2730a0e2ac86bd
parent513fe25a501b41f9f2aac67f73c8e8730aed81b0
(/ N) now returns the reciprocal of N

This is more compatible with Common Lisp and XEmacs (Bug#21690).  See:
http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
* lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
(color-xyz-to-srgb, color-xyz-to-lab):
* lisp/emacs-lisp/cl-extra.el (cl-float-limits):
* lisp/net/shr-color.el (shr-color-hue-to-rgb)
(shr-color-hsl-to-rgb-fractions):
Exploit the change to simplify the code a bit.
* lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
Don’t complain about single-argument calls to ‘/’.
* src/data.c (arith_driver, float_arith_driver):
Implement the change.
doc/lispref/numbers.texi
etc/NEWS
lisp/color.el
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/cl-extra.el
lisp/net/shr-color.el
src/data.c