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