Documentation ¶
Overview ¶
Package crunchy is the sound it makes when numbers go brrrrrrr.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GCD ¶
func GCD[T constraints.Integer](a, b T) T
GCD calculates the greatest common divisor of the two given integers.
func LCM ¶
func LCM[T constraints.Integer](x ...T) T
LCM calculates the least common multiple of all given integers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.