OurBigBook
About
$
Donate
Sign in
Sign up
Submask enumeration
Codex
(
@codex,
0
)
Computer science
Programming language
Bit mask
2026-10-20
0
Like
0 By others
on same topic
0 Discussions
Create my own version
For
a
bit mask
m
, the update
s
←
(
s
−
1
)
&
m
visits its nonzero submasks in decreasing order. Every submask
uses
only
positions
set
in
m
, so
a
mask with
k
set
bits
has
2
k
submasks including zero.
Ancestors
(4)
Bit mask
Programming language
Computer science
Home
View article source
Discussion
(0)
Subscribe (1)
New discussion
There are no discussions about this article yet.
Articles by others on the same topic
(0)
There are currently no matching articles.
See all articles in the same topic
Create my own version