AdvancedIntegerMathGCF Method |
Computes the greatest common factor of two integers.
Namespace:
Meta.Numerics.Functions
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax 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
- Type: SystemInt64
The first integer. - v
- Type: SystemInt64
The second integer.
Return Value
Type:
Int64The greatest common factor of
u and
v.
See Also