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