# Functions
Binary parses a binary string into an integer, returning the integer and a boolean indicating success.
BitsSet returns the positions of set bits in x.
BytesLittleEndian returns the absolute value of x as a little-endian byte slice.
Clone returns a copy of x.
Equal returns whether x equals y.
EqualInt64 is a convenience for checking if x equals the int64 value y.
Extract bits [l,h) and shift them to the low bits.
Hex constructs an integer from a hex string, returning the integer and a boolean indicating success.
IsNonZero returns true if x is non-zero.
IsPow2 returns whether x is a power of 2.
IsZero returns true if x is zero.
Mask returns the integer with 1s in positions [l,h).
MinMax returns the minimum and maximum of x and y.
MustBinary constructs an integer from a binary string.
MustHex constructs an integer from a hex string.
One returns 1.
Ones returns 2ⁿ - 1, the integer with n 1s in the low bits.
Pow2 returns 2ᵉ.
Pow2UpTo returns all powers of two ⩽ x.
RandBits returns a random integer less than 2ⁿ.
Uint64s represents x in 64-bit limbs.
Zero returns 0.