projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6535035
)
; * src/data.c (Fash): More precise doc string
author
Mattias Engdegård
<mattiase@acm.org>
Tue, 19 Jul 2022 11:56:08 +0000
(13:56 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Tue, 19 Jul 2022 13:21:56 +0000
(15:21 +0200)
src/data.c
patch
|
blob
|
history
diff --git
a/src/data.c
b/src/data.c
index 568349ba839aaed1923af4f8423210306982e877..b2fcdaebee1dde933b4e3d336e49b83982d3db33 100644
(file)
--- 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);