• Paul Eggert's avatar
    (/ N) now returns the reciprocal of N · e9af822a
    Paul Eggert authored
    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.
    e9af822a
color.el 15.2 KB