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.275-beta+ec4bfedd1c0ab71255187033f655a7f521a0a361
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