public static object LessThan(BigDecimal /*!*/ self, [NotNull] BigDecimal /*!*/ other) { int?c = self.CompareBigDecimal(other); if (c.HasValue) { return(c.Value < 0); } else { return(null); } }
public static object GreaterThan(RubyContext /*!*/ context, BigDecimal /*!*/ self, [NotNull] BigInteger /*!*/ other) { int?c = self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)); if (c.HasValue) { return(c.Value > 0); } else { return(null); } }
public static object GreaterThanOrEqual(RubyContext /*!*/ context, BigDecimal /*!*/ self, double other) { int?c = self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)); if (c.HasValue) { return(c.Value >= 0); } else { return(null); } }
public static object GreaterThanOrEqual(BigDecimal /*!*/ self, [NotNull] BigDecimal /*!*/ other) { int?c = self.CompareBigDecimal(other); if (c.HasValue) { return(c.Value >= 0); } else { return(null); } }
public static object LessThan(RubyContext /*!*/ context, BigDecimal /*!*/ self, int other) { int?c = self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)); if (c.HasValue) { return(c.Value < 0); } else { return(null); } }
public static object GreaterThanOrEqual(RubyContext/*!*/ context, BigDecimal/*!*/ self, [NotNull]BigInteger/*!*/ other) { return GreaterThanOrEqualResult(self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other))); }
public static object GreaterThan(RubyContext/*!*/ context, BigDecimal/*!*/ self, double other) { return GreaterThenResult(self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other))); }
public static object LessThanOrEqual(BigDecimal/*!*/ self, [NotNull]BigDecimal/*!*/ other) { int? c = self.CompareBigDecimal(other); if (c.HasValue) { return c.Value <= 0; } else { return null; } }
public static object GreaterThan(RubyContext/*!*/ context, BigDecimal/*!*/ self, int other) { int? c = self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)); if (c.HasValue) { return c.Value > 0; } else { return null; } }
public static object Compare(RubyContext/*!*/ context, BigDecimal/*!*/ self, double other) { return self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)); }
public static object Compare(BigDecimal/*!*/ self, [NotNull]BigDecimal/*!*/ other) { return self.CompareBigDecimal(other); }
public static object GreaterThan(BigDecimal /*!*/ self, [NotNull] BigDecimal /*!*/ other) { return(GreaterThenResult(self.CompareBigDecimal(other))); }
public static object Compare(RubyContext /*!*/ context, BigDecimal /*!*/ self, int other) { return(self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other))); }
public static object Compare(BigDecimal /*!*/ self, [NotNull] BigDecimal /*!*/ other) { return(self.CompareBigDecimal(other)); }
public static object LessThanOrEqual(BigDecimal/*!*/ self, [NotNull]BigDecimal/*!*/ other) { return LessThanOrEqualResult(self.CompareBigDecimal(other)); }
public static object LessThanOrEqual(RubyContext/*!*/ context, BigDecimal/*!*/ self, double other) { return LessThanOrEqualResult(self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other))); }
public static object GreaterThan(RubyContext /*!*/ context, BigDecimal /*!*/ self, double other) { return(GreaterThenResult(self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)))); }
public static object Compare(RubyContext/*!*/ context, BigDecimal/*!*/ self, [NotNull]BigInteger/*!*/ other) { return self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)); }
public static object LessThan(RubyContext /*!*/ context, BigDecimal /*!*/ self, [NotNull] BigInteger /*!*/ other) { return(LessThenResult(self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)))); }
public static object GreaterThan(BigDecimal/*!*/ self, [NotNull]BigDecimal/*!*/ other) { int? c = self.CompareBigDecimal(other); if (c.HasValue) { return c.Value > 0; } else { return null; } }
public static object LessThanOrEqual(BigDecimal /*!*/ self, [NotNull] BigDecimal /*!*/ other) { return(LessThanOrEqualResult(self.CompareBigDecimal(other))); }
public static object LessThan(RubyContext/*!*/ context, BigDecimal/*!*/ self, [NotNull]BigInteger/*!*/ other) { int? c = self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)); if (c.HasValue) { return c.Value < 0; } else { return null; } }
public static object LessThanOrEqual(RubyContext /*!*/ context, BigDecimal /*!*/ self, int other) { return(LessThanOrEqualResult(self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)))); }
public static object LessThanOrEqual(RubyContext/*!*/ context, BigDecimal/*!*/ self, double other) { int? c = self.CompareBigDecimal(BigDecimal.Create(GetConfig(context), other)); if (c.HasValue) { return c.Value <= 0; } else { return null; } }
public static object GreaterThan(BigDecimal/*!*/ self, [NotNull]BigDecimal/*!*/ other) { return GreaterThenResult(self.CompareBigDecimal(other)); }