Mercurial > louis > peeves
view misc/poweroftwo/question.rst @ 1:8f77e48d3704
Add the power of two exercise
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Sun, 30 Jun 2013 23:43:41 -0700 |
parents | |
children |
line wrap: on
line source
Is a Power of 2? ================ Write a function that returns true if the given number is a power of two.