]> git.eshelyaron.com Git - emacs.git/commit
min and max now return one of their arguments
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Mar 2017 23:14:32 +0000 (15:14 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Mar 2017 01:26:55 +0000 (17:26 -0800)
commit37940b347052418f0589bd52b06e56fffb594ea2
tree40d63a87959ed1afa9b0dad7a2cabb5cdbe88121
parent3bd2e9e975ed29daaf03ca7559e4664aade0674f
min and max now return one of their arguments

* doc/lispref/numbers.texi (Comparison of Numbers):
* etc/NEWS: Document this.
* src/data.c (Amax, Amin): Remove constants.  All uses removed.
(minmax_driver): New function.
(Fmax, Fmin): Use it instead of arith_driver.
* test/src/data-tests.el (data-tests-max, data-tests-min): New tests.
doc/lispref/numbers.texi
etc/NEWS
src/data.c
test/src/data-tests.el