Meta.Numerics Library
GCF Method (u, v)
Meta.NumericsMeta.Numerics.FunctionsAdvancedIntegerMathGCF(Int64, Int64)
Computes the greatest common factor of two integers.
Declaration Syntax
C#Visual BasicVisual C++F#
public static long GCF(
	long u,
	long v
)
Public Shared Function GCF ( _
	u As Long, _
	v As Long _
) As Long
public:
static long long GCF(
	long long u, 
	long long v
)
static member GCF : 
        u:int64 * 
        v:int64 -> int64 
Parameters
u (Int64)
The first integer.
v (Int64)
The second integer.
Return Value
The greatest common factor of u and v.
See Also