SRSandro Rybárik@rybarix·Oct 18ef73161elegant way to check if number is power of 2cnum & (num - 1) == 01Quote
JMJoseph Miclaus@josephmiclaus·Oct 18ca87613I'd expect a 2 somewhere in the formula, but only 1 and 0 showed up.1Quote