Beispiel #1
0
 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));
 }
Beispiel #2
0
 public static bool IsNaN(BigDecimal /*!*/ self)
 {
     return(BigDecimal.IsNaN(self));
 }
Beispiel #3
0
 public bool IsNaN()
 {
     return(BigDecimal.IsNaN(value));
 }