Ejemplo n.º 1
0
 private static T LeastCommonMultiple <T>(T one, T two, IArithmetic <T> arithmetic)
 {
     return(arithmetic.Divide(arithmetic.Abs(arithmetic.Multiply(one, two)), AdvancedMath.GreatestCommonDivisor(one, two, arithmetic)));
 }