public static NumberSymbol Add(NumberSymbol left, NumberSymbol right) { return(left + right); }
public static NumberSymbol Negate(NumberSymbol item) { return(-item); }
/** * <summary> * Returns a <see cref="NumberSymbol"/> equal to the value of this instance's * <see cref="NumericValue"/> raised to the power of <paramref name="right"/>'s * <see cref="NumericValue"/>. * </summary> * <param name="right"> * The <see cref="NumberSymbol"/> to raise this instance's value to. * </param> */ public NumberSymbol Pow(NumberSymbol right) => new NumberSymbol(System.Math.Pow(numericValue, right));
public static NumberSymbol Divide(NumberSymbol left, NumberSymbol right) { return(left / right); }
public static NumberSymbol Multiply(NumberSymbol left, NumberSymbol right) { return(left * right); }
public static NumberSymbol Subtract(NumberSymbol left, NumberSymbol right) { return(left - right); }