computeGreatestCommonDivisor
Functions
Find the greatest common divisor (denominator/factor)
computeGreatestCommonDivisor_Naive(a, b) ⇒ number
Find the greatest common divisor (denominator/factor)
Kind: global function
| Param | Type |
|---|---|
| a | number |
| b | number |
computeGreatestCommonDivisor_Euclid(a, b) ⇒ number
Kind: global function
See: https://en.wikipedia.org/wiki/Euclidean_algorithm
| Param | Type |
|---|---|
| a | number |
| b | number |