From: stassats <sta...@us...> - 2014-05-30 23:13:44
|
The branch "master" has been updated in SBCL: via 68b70a790b6b5583794a18c3b381c5d05ee2752d (commit) from 010c3b27431e8ec1eb4291d828a74bc434e0e90c (commit) - Log ----------------------------------------------------------------- commit 68b70a790b6b5583794a18c3b381c5d05ee2752d Author: Stas Boukarev <sta...@gm...> Date: Sat May 31 03:13:30 2014 +0400 Fix documentation for LOGCOUNT. It should be "non-negative", not "positive". Fixes lp#1254965. --- src/code/numbers.lisp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/code/numbers.lisp b/src/code/numbers.lisp index 2263f72..53e6d99 100644 --- a/src/code/numbers.lisp +++ b/src/code/numbers.lisp @@ -1032,8 +1032,8 @@ the first." (defun logcount (integer) #!+sb-doc - "Count the number of 1 bits if INTEGER is positive, and the number of 0 bits - if INTEGER is negative." + "Count the number of 1 bits if INTEGER is non-negative, +and the number of 0 bits if INTEGER is negative." (etypecase integer (fixnum (logcount (truly-the (integer 0 ----------------------------------------------------------------------- hooks/post-receive -- SBCL |