diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-30 15:36:52 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-30 15:38:14 -0700 |
commit | 8136df6a8cbf071266eb38f5baef005f4e9241a3 (patch) | |
tree | 4ade7520c5be858be40b7939a0338e4a48288c85 /lisp/electric.el | |
parent | d247e1d30abcb77665f829ca98a5bdef69ff4bc3 (diff) | |
download | emacs-8136df6a8cbf071266eb38f5baef005f4e9241a3.tar.gz |
Make logcount act like CL on negative arg
Behaving like Common Lisp is less likely to lead to surprises,
as it yields the same answers on 32- vs 64-bit machines.
* doc/lispref/numbers.texi (Bitwise Operations):
Document behavior on negative integers.
* src/data.c (Flogcount):
Behave like Common Lisp for negative arguments.
* test/src/data-tests.el (data-tests-popcnt)
(data-tests-logcount): Test negative args too.
Diffstat (limited to 'lisp/electric.el')
0 files changed, 0 insertions, 0 deletions