public static SmlDouble Multiply(SmlDouble value1, SmlDouble value2) { return(new SmlDouble(value1.Data * value2.Data)); }
public static SmlDouble Divide(SmlDouble value1, SmlDouble value2) { return(new SmlDouble(value1.Data / value2.Data)); }
public static SmlDouble Add(SmlDouble value1, SmlDouble value2) { return(new SmlDouble(value1.Data + value2.Data)); }
public static SmlDouble Minus(SmlDouble value1, SmlDouble value2) { return(new SmlDouble(value1.Data - value2.Data)); }
public static SmlBool IsEqual(SmlDouble value1, SmlDouble value2) { return(new SmlBool(value1.Data == value2.Data)); }
public static SmlBool IsSmaller(SmlDouble value1, SmlDouble value2) { return(new SmlBool(value1.Data < value2.Data)); }
public static SmlBool IsGreater(SmlDouble value1, SmlDouble value2) { return(new SmlBool(value1.Data > value2.Data)); }
public static SmlDouble Power(SmlDouble value1, SmlDouble value2) { return(new SmlDouble(System.Math.Pow(value1.Data, value2.Data))); }
public static SmlDouble Modulus(SmlDouble value1, SmlDouble value2) { return(new SmlDouble(value1.Data % value2.Data)); }