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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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