aboutsummaryrefslogtreecommitdiff
path: root/challenge-059
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-10-26 17:42:52 +0200
committerAbigail <abigail@abigail.be>2021-10-26 17:42:52 +0200
commit6f22a777308b07dcd433baf9ce525ba9dd95eedb (patch)
tree14289945baa80b5866d7c38f20a313dc2ae9df2c /challenge-059
parent15deec24c8dc7e7b69a4bb59b8866075207c220e (diff)
downloadperlweeklychallenge-club-6f22a777308b07dcd433baf9ce525ba9dd95eedb.tar.gz
perlweeklychallenge-club-6f22a777308b07dcd433baf9ce525ba9dd95eedb.tar.bz2
perlweeklychallenge-club-6f22a777308b07dcd433baf9ce525ba9dd95eedb.zip
Use the same function to determine whether a number is a power of 2.
We now use the same algorithm (but implemented in different languages) to determine whether a number is a power of 2. This replaces the preprocessed powers of 2, and lookup tables.
Diffstat (limited to 'challenge-059')
0 files changed, 0 insertions, 0 deletions