ParentFull threadmrcode007·The power of two test is simplyx & (x-1) == 0which could be special cased through templates tooView on HN