public BoolValue Gt(IOrderedValue arg1, IOrderedValue arg2) { return(BoolValue.Create(!CheckedLess(arg1, arg2) && !arg1.Equals(arg2))); }
public BoolValue Le(IOrderedValue arg1, IOrderedValue arg2) { return(BoolValue.Create(CheckedLess(arg1, arg2) || arg1.Equals(arg2))); }
// Less function common code static int compare(IOrderedValue arg1, IOrderedValue arg2) { Logger.Assert(arg1 != null && arg2 != null); return(arg1.Equals(arg2) ? 0 : arg1.IsLess(arg2) ? -1 : 1); }