Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.10 KB | None | 0 0
  1. if( ($1!=0)  &  ($1 & ($1-1)) ==0)
  2.  then echo "the first argument of the script is a power of 2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement