[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ac1d15e95c 1/2: ; * src/data.c (Fash): More precise doc string
From: |
Mattias Engdegård |
Subject: |
master ac1d15e95c 1/2: ; * src/data.c (Fash): More precise doc string |
Date: |
Tue, 19 Jul 2022 09:38:46 -0400 (EDT) |
branch: master
commit ac1d15e95c88592325afebb3d82c8c74a27d2627
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * src/data.c (Fash): More precise doc string
---
src/data.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/data.c b/src/data.c
index 568349ba83..b2fcdaebee 100644
--- a/src/data.c
+++ b/src/data.c
@@ -3519,7 +3519,9 @@ representation. */)
DEFUN ("ash", Fash, Sash, 2, 2, 0,
doc: /* Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
-In this case, the sign bit is duplicated. */)
+The return value is always VALUE multiplied by 2 to the power of COUNT,
+rounding down (towards negative infinity).
+VALUE and COUNT must be integers. */)
(Lisp_Object value, Lisp_Object count)
{
CHECK_INTEGER (value);