/// <summary> /// Returns a new composite interval that contains all values on the number line not present in this interval. /// </summary> public static CompositeInterval <float> Complement(this CompositeInterval <float> interval) => interval.SymmetricDifference(NumberLineOfSingles);
/// <summary> /// Returns a new composite interval that contains all possible <see cref="uint"/> values not present in this interval. /// </summary> public static CompositeInterval <uint> Complement(this CompositeInterval <uint> interval) => interval.SymmetricDifference(AllUInt32s);
/// <summary> /// Returns a new composite interval that contains all possible <see cref="decimal"/> values not present in this interval. /// </summary> public static CompositeInterval <decimal> Complement(this CompositeInterval <decimal> interval) => interval.SymmetricDifference(AllDecimals);
/// <summary> /// Returns a new composite interval that contains all values on the number line not present in this interval. /// </summary> public static CompositeInterval <double> Complement(this CompositeInterval <double> interval) => interval.SymmetricDifference(NumberLineOfDoubles);
/// <summary> /// Returns a new composite interval that contains all possible <see cref="Char"/> values not present in this interval. /// </summary> public static CompositeInterval <char> Complement(this CompositeInterval <char> interval) => interval.SymmetricDifference(AllChars);
/// <summary> /// Returns a new composite interval that contains all possible <see cref="sbyte"/> values not present in this interval. /// </summary> public static CompositeInterval <sbyte> Complement(this CompositeInterval <sbyte> interval) => interval.SymmetricDifference(AllSBytes);
/// <summary> /// Returns a new composite interval that contains all possible <see cref="DateTimeOffset"/> values not present in this interval. /// </summary> public static CompositeInterval <DateTimeOffset> Complement(this CompositeInterval <DateTimeOffset> interval) => interval.SymmetricDifference(AllDateTimeOffsets);
/// <summary> /// Returns a new composite interval that contains all possible <see cref="short"/> values not present in this interval. /// </summary> public static CompositeInterval <short> Complement(this CompositeInterval <short> interval) => interval.SymmetricDifference(AllInt16s);
/// <summary> /// Returns a new composite interval that contains all possible <see cref="ulong"/> values not present in this interval. /// </summary> public static CompositeInterval <ulong> Complement(this CompositeInterval <ulong> interval) => interval.SymmetricDifference(AllUInt64s);