News for hackers. Stuff that matters.
Re:Write A Function To Determine If A Number Is A Power Of 2 by edge17 on Monday October 18, 2010 @01:03PM (#1804236)

  bool powerOf2(int a){
     return !(a & (a-1));
  }

There are no comments on this comment yet.