Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPowerFourBrute ¶
IsPowerFourBrute checks if a number is a power of 4 by repeated division.
func IsPowerFourFaster ¶
IsPowerFourFaster checks if a number is a power of 4 by looking for the highest set bits.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.