Do two numbers contain unique powers of 2 – codegolf.stackexchange.com

Break two numbers up into their powers of 2, if they share any, return a falsey value. Otherwise, return a truthy value. If one input is 0, the answer will always be truthy. if one input is 255, the ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Do two numbers contain unique powers of 2 – codegolf.stackexchange.com"