unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* About "set bits"
@ 2013-04-10 13:46 Xue Fuqiao
  2013-04-10 14:15 ` Thien-Thi Nguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Xue Fuqiao @ 2013-04-10 13:46 UTC (permalink / raw)
  To: help-gnu-emacs

In (info "(elisp) Bindat Spec"):

  `bits LEN'
     List of set bits in LEN bytes.  The bytes are taken in big endian
     order and the bits are numbered starting with `8 * LEN - 1' and
     ending with zero.  For example: `bits 2' unpacks `#x28' `#x1c' to
     `(2 3 4 11 13)' and `#x1c' `#x28' to `(3 5 10 11 12)'.

I don't know what "set bits" means here.  I have searched the archives,
and found two related threads:
http://lists.gnu.org/archive/html/help-gnu-emacs/2005-06/msg00087.html
http://lists.gnu.org/archive/html/help-gnu-emacs/2013-01/msg00103.html

But they didn't help.  I have also searched the web and seen the
commentary header of bindat.el, but nothing helped to me.  Can I get a
pointer to information on this concept (or on byte packing)?

-- 
Xue Fuqiao

English is not my native language; please excuse typing errors.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-12 14:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-10 13:46 About "set bits" Xue Fuqiao
2013-04-10 14:15 ` Thien-Thi Nguyen
2013-04-10 15:20 ` Eli Zaretskii
     [not found] ` <mailman.23883.1365607222.855.help-gnu-emacs@gnu.org>
2013-04-10 15:37   ` Barry Margolin
2013-04-10 22:33     ` Xue Fuqiao
2013-04-10 22:39       ` Xue Fuqiao
2013-04-11  8:46     ` Thien-Thi Nguyen
     [not found]     ` <mailman.23943.1365669842.855.help-gnu-emacs@gnu.org>
2013-04-11 15:19       ` Barry Margolin
2013-04-12  4:39         ` Thien-Thi Nguyen
2013-04-12 14:20           ` Xue Fuqiao

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).