3 ms·
There are most likely many ways to check if a number is a power of two. I'm not sure if my solution is more efficient. It seems your expression would create mor
by _RPM 10y ago
There are most likely many ways to check if a number is a power of two. I'm not sure if my solution is more efficient. It seems your expression would create more code than mine.