public static object Equal(BigDecimal /*!*/ self, [NotNull] BigDecimal /*!*/ other) { // This is a hack since normal numeric values return false not nil for NaN comparison if (BigDecimal.IsNaN(self) || BigDecimal.IsNaN(other)) { return(null); } return(self.Equals(other)); }
public static bool IsNaN(BigDecimal /*!*/ self) { return(BigDecimal.IsNaN(self)); }
public bool IsNaN() { return(BigDecimal.IsNaN(value)); }