
October 2nd, 2012, 10:41 PM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 1
Time spent in forums: 41 m 10 sec
Reputation Power: 0
|
|
|
Please explain the code below
Anybody please help me to decipher this code. I mean what is this code checking and returning.
Code:
int isPower2 (int myInt) {
return !(myInt>>31) & !!myInt & !(myInt & (myInt+(~1+1)));
}
|