EuclidGreatestCommonDivisor(Int64, Int64) Method |
Returns the greatest common divisor (gcd) of two integers using Euclid's algorithm.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static long GreatestCommonDivisor(
long a,
long b
)
Parameters
- a Int64
- First Integer: a.
- b Int64
- Second Integer: b.
Return Value
Int64Greatest common divisor
gcd(a,b)
See Also