• Paul Eggert's avatar
    Make logcount act like CL on negative arg · 8136df6a
    Paul Eggert authored
    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.
    8136df6a
data-tests.el 18.1 KB