GreatestCommonDivisorI 函数

完全限定的名称:Std.Math.GreatestCommonDivisorI

function GreatestCommonDivisorI(a : Int, b : Int) : Int

总结

计算两个整数的最大常见除数。 注意:GCD 始终为正值,但 GCD(0,0)=0 除外。