public override Expression LesserThanOrEqualTo(Irrational other) { return(new Boolean(@decimal <= other.@decimal)); }
public override Expression SubWith(Irrational other) { return(new Irrational(@decimal - other.@decimal)); }
public override Expression ExpWith(Irrational other) { return(new Irrational(Math.Pow((double)@decimal, (double)other.@decimal))); }
public override Expression GreaterThan(Irrational other) { return(new Boolean(@decimal > other.@decimal)); }
public override Expression AddWith(Irrational other) { return(new Text(@string + other.ToString())); }
public virtual Expression AddWith(Irrational other) { return(new Error(this, "Don't support adding " + other.GetType().Name)); }
public virtual Expression LesserThanOrEqualTo(Irrational other) { return(new Error(this, "Don't support lesser than or equal " + other.GetType().Name)); }
public virtual Expression GreaterThan(Irrational other) { return(new Error(this, "Don't support greater than " + other.GetType().Name)); }
public virtual Expression OrWith(Irrational other) { return(new Error(this, "Don't support or with " + other.GetType().Name)); }