Quote from
Patrik on August 22, 2022, 10:43 pm
The use I make of it is the notion of mask.
Example: 5 is decomposed binary into 4+1 (101).
5 AND 1 == 1 : true --> 1 is into 5
5 AND 2 == 2 : false --> 2 isn't into 5
5 AND 4 == 4 : true --> 4 is into 5
Etc.
But I can do it another way...
The use I make of it is the notion of mask.
Example: 5 is decomposed binary into 4+1 (101).
5 AND 1 == 1 : true --> 1 is into 5
5 AND 2 == 2 : false --> 2 isn't into 5
5 AND 4 == 4 : true --> 4 is into 5
Etc.
But I can do it another way...