Click or drag to resize

EuclideanGreatestCommonDenominator(Int32, Int32) Method

Gets the greatest common denominator of the given integers.

Namespace: GSF.NumericalAnalysis
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public static int GreatestCommonDenominator(
	int a,
	int b
)
View Source

Parameters

a  Int32
The first of the given integers.
b  Int32
The second of the given integers.

Return Value

Int32
The greatest common denominator.
See Also