From: "Mattias Engdegård" <mattiase@acm.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: master ac1d15e95c 1/2: ; * src/data.c (Fash): More precise doc string
Date: Tue, 19 Jul 2022 16:19:52 +0200 [thread overview]
Message-ID: <063D21A9-801C-411B-B59C-AA7A057DFF79@acm.org> (raw)
In-Reply-To: <831quhnrf8.fsf@gnu.org>
19 juli 2022 kl. 15.49 skrev Eli Zaretskii <eliz@gnu.org>:
> I'm afraid I find the modified doc string less self-explanatory wrt
> what happens when VALUE is negative. It might be more accurate, but
> makes it harder to understand what happens in that case.
The old text was definitely not self-explanatory; it made me more confused than enlightened.
But let's try again. What about:
Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
Values are shifted as an infinitely wide two's complement representation; each shift step multiplies (left-shifting) or divides (right-shifting) the value by two, rounding down.
VALUE and COUNT must be integers.
next prev parent reply other threads:[~2022-07-19 14:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-19 13:49 master ac1d15e95c 1/2: ; * src/data.c (Fash): More precise doc string Eli Zaretskii
2022-07-19 14:19 ` Mattias Engdegård [this message]
2022-07-19 14:26 ` Eli Zaretskii
2022-07-19 15:08 ` Mattias Engdegård
2022-07-19 15:54 ` Eli Zaretskii
2022-07-19 17:46 ` Mattias Engdegård
2022-07-19 19:04 ` Eli Zaretskii
2022-07-20 5:57 ` Richard Stallman
2022-07-19 16:29 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=063D21A9-801C-411B-B59C-AA7A057DFF79@acm.org \
--to=mattiase@acm.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).