]> git.eshelyaron.com Git - emacs.git/commit
Fix hash functions for bignums
authorTom Tromey <tom@tromey.com>
Sat, 4 Aug 2018 17:08:31 +0000 (11:08 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 4 Aug 2018 17:08:31 +0000 (11:08 -0600)
commit1303f8a4806fb170c14375c53b0f79d03e288eb3
treee840c741418d06d6546f5dc90f387b3680990d49
parent91d505d8e2cd8a5736f4ed76bb5aabfbc4410e89
Fix hash functions for bignums

* src/fns.c (cmpfn_eql, hashfn_eql): Handle bignums.
(sxhash_bignum): New function.
(sxhash): Use it.
* test/src/fns-tests.el (test-bignum-hash): New test.
src/fns.c
test/src/fns-tests.el