4 ms·The power of two test is simply x & (x-1) == 0 which could be special cased through templates tooby mrcode007 2y agoThe power of two test is simply x & (x-1) == 0 which could be special cased through templates too