共用方式為


GreatestCommonDivisorL 函式

完整名稱:Std.Math.GreatestCommonDivisorL

function GreatestCommonDivisorL(a : BigInt, b : BigInt) : BigInt

總結

計算兩個整數的最大通用除數。 注意:GCD 一律為正數,但 GCD(0,0)=0 除外。