共用方式為


ExtendedGreatestCommonDivisorL 函式

完整名稱:Std.Math.ExtendedGreatestCommonDivisorL

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

總結

傳回 Tuple (u,v) 讓 ua+vb=GCD(a,b) 附注:GCD 一律為正數,但 GCD(0,0)=0 除外。