Find whether a given number is a power of 4 or not – Bit Algorithm – A simple method is to take log of the given number on base 4, and if we get an integer.
2 power 64
1 Article
1
Find whether a given number is a power of 4 or not – Bit Algorithm – A simple method is to take log of the given number on base 4, and if we get an integer.