You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ispowerof2
Instructions
Écrire une fonction qui détermine si un nombre donné est une puissance de 2.
Cette fonction retourne true
si le nombre donné est une puissance de 2, autrement elle retourne false
.
Fonction attendue
func IsPowerOf2(n uint) bool {
}