| ??? 12/13/06 18:10 Modified: 12/13/06 18:51 Read: times  | 
#129426 - Sorted, or only counted? Responding to: ???'s previous message  | 
Christoph said: 
Ideally, the numbers with the same number of set bits should be sorted (ascending or descending), but that isn't a must. 
 Simplified to 4 bits, the output sequence could look like this: 1111b, 0111b, 1011b, 1101b, 1110b, 0011b, 0101b, 0110b, 1001b, 1010b, 1100b, 0001b, 0010b, 0100b, 1000b, 0000b Is counting them enough? Kai PS.:Guuds Nächtle, falls du jetz scho ins Beddle goscht...  | 



