Documentation ¶
Overview ¶
Package lcm implements algorithms related to the least common multiple.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Calc ¶
func Calc[T constraints.Integer](a, b T) T
Calc calculates the least common multiple of a and b.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.