How to iterate subsets of a bitmask in increasing order?

Правка en1, от -synx-, 2017-05-25 11:46:30

I know how to iterate them in decreasing order using the operation (s-1)&x.
How can we generate them in increasing order?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский -synx- 2017-05-25 11:46:30 184 Initial revision (published)