Esempio n. 1
0
 public bool Equals(IntFloat ift) => intFloatNotFraction?ifloat.Equals(ift) : frac.Equals(ift);
Esempio n. 2
0
 public Iflac(IntFloat value)
 {
     intFloatNotFraction = true;
     this.value          = value;
 }
Esempio n. 3
0
 public int CompareTo(IntFloat ift) => intFloatNotFraction?ifloat.CompareTo(ift) : IntFloat.FromFraction(frac).CompareTo(ift);