返回两个大整数的最大公约数。
命名空间/模块路径:System.Numerics
程序集:FSharp.Core(在 FSharp.Core.dll 中)
// Signature:
static member GreatestCommonDivisor : BigInteger * BigInteger -> BigInteger
// Usage:
BigInteger.GreatestCommonDivisor (x, y)
参数
x
类型:BigIntegery
类型:BigInteger
备注
此API仅可用于F#核心库版本面向.NET Framework 2.0。如果您使用的是 .NET Framework 4,请使用同名的 .NET Framework 4 API GreatestCommonDivisor。
平台
Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2
版本信息
F#核心库版本
受以下版本支持:2.0