OpenGenus/cosmos

Check whether a number is a power of 2 using bit manipulation

Open

#1,297 opened on 2017年10月12日

GitHub で見る
 (6 comments) (0 reactions) (2 assignees)C++ (3,724 forks)batch import
Hacktoberfestadd codenew algorithm

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

To check efficiently whether a number is power of 2 using bit manipulation

コントリビューターガイド