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