package
1.4.4
Repository: https://github.com/prysmaticlabs/prysm.git
Documentation: pkg.go.dev

# Functions

Add64 adds 2 64-bit unsigned integers and checks if they lead to an overflow.
CeilDiv8 divides the input number by 8 and takes the ceiling of that number.
IntegerSquareRoot defines a function that returns the largest possible integer root of a number using go's standard library.
IsPowerOf2 returns true if n is an exact power of two.
Max returns the larger integer of the two given ones.This is used over the Max function in the standard math library because that max function has to check for some special floating point cases making it slower by a magnitude of 10.
Min returns the smaller integer of the two given ones.
Mul64 multiples 2 64-bit unsigned integers and checks if they lead to an overflow.
PowerOf2 returns an integer that is the provided exponent of 2.