Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntegerSquareroot ¶
The largest integer x such that x**2 is less than or equal to n.
func IsPowerOfTwo ¶
func NextPowerOfTwo ¶
NextPowerOfTwo returns the next power of two for the given number. It returns the number itself if it's a power of two.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.