Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: How can I tell if a number is a power of 2?

by VSarkiss (Monsignor)
on Jan 28, 2002 at 23:16 UTC ( [id://142153]=note: print w/replies, xml ) Need Help??


in reply to Re: How can I tell if a number is a power of 2?
in thread How can I tell if a number is a power of 2?

Oops! You're testing whether $number is odd or even, not whether it's a power of 2.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://142153]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-19 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found