diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-17 15:25:44 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-17 15:26:41 -0700 |
commit | 5f28f0db73c03b98b27e04a458ebb209b5d9acde (patch) | |
tree | 4c431e51e3e20d6b847907d014b1aea7754f34da /test/lisp/emacs-lisp/generator-tests.el | |
parent | 37b5e661d298cbfe51422cd515b6696a1cdaa868 (diff) | |
download | emacs-5f28f0db73c03b98b27e04a458ebb209b5d9acde.tar.gz emacs-5f28f0db73c03b98b27e04a458ebb209b5d9acde.tar.bz2 emacs-5f28f0db73c03b98b27e04a458ebb209b5d9acde.zip |
Fix bug with min and max and NaNs
* src/data.c (minmax_driver): Fix bug with (min 0 NaN), which
mistakenly yielded 0. Also, pacify GCC in a better way.
* test/src/data-tests.el (data-tests-min): Test for the bug.
Diffstat (limited to 'test/lisp/emacs-lisp/generator-tests.el')
0 files changed, 0 insertions, 0 deletions