Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( ($1!=0) & ($1 & ($1-1)) ==0)
- then echo "the first argument of the script is a power of 2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement