]> git.eshelyaron.com Git - emacs.git/commit
Fix bignum comparisons with NaN
authorTom Tromey <tom@tromey.com>
Sat, 4 Aug 2018 16:50:35 +0000 (10:50 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 4 Aug 2018 16:50:35 +0000 (10:50 -0600)
commit91d505d8e2cd8a5736f4ed76bb5aabfbc4410e89
tree7783e8f6bf76dda146880afdacb2f2db09f4b0eb
parentbc8ff54efee05f4a2769be32046866ed1e152b41
Fix bignum comparisons with NaN

* src/data.c (isnan): Move earlier.
(bignumcompare): Explicitly handle NaN.
* test/src/data-tests.el (data-tests-min): Add NaN tests
for bignum.
(data-check-sign): Fix for previous patch.
* test/src/fns-tests.el (test-bignum-eql): Add NaN test.
src/data.c
test/src/data-tests.el
test/src/fns-tests.el