Expand description
Specialized integer operations missing from the standard library.
Statics
All u8
prime numbers.
Traits
Marks unsigned integer types that can be safely used in 32-bit integer divisions.
Functions
Determines the greatest common divisor of two u16
s.
Returns the euclidean division of a signed numer
and an unsigned denom
.
Returns the euclidean remainder of a signed numer
and an unsigned denom
.
Removes all powers of two from a u16
.
Simplifies a fraction of u16
s.