AdvancedIntegerMathGCF Method

Computes the greatest common factor of two integers.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static long GCF(
	long u,
	long v
)

Parameters

u  Int64
The first integer.
v  Int64
The second integer.

Return Value

Int64
The greatest common factor of u and v.

See Also