/// <summary>Returns the same range as Incl(num, num).</summary> public static NumRange<FPI16,MathFPI16> Only(FPI16 num) { return new NumRange<FPI16,MathFPI16>(num, num); }
/// <summary>Returns a range from lo to hi that excludes hi by decreasing it by 1.</summary> public static NumRange<FPI16,MathFPI16> ExcludeHi(FPI16 lo, FPI16 hi) { return new NumRange<FPI16,MathFPI16>(lo, hi - 1); }
/// <summary>Returns a range from lo to the MaxValue of the number type.</summary> public static NumRange<FPI16,MathFPI16> StartingAt(FPI16 lo) { return new NumRange<FPI16,MathFPI16>(lo, FPI16.MaxValue); }
/// <summary>Returns a range from lo to hi that includes both lo and hi.</summary> public static NumRange<FPI16,MathFPI16> Inclusive(FPI16 lo, FPI16 hi) { return new NumRange<FPI16,MathFPI16>(lo, hi); }
/// <summary>Returns the same range as Incl(num, num).</summary> public static NumRange <FPI16, MathFPI16> Only(FPI16 num) { return(new NumRange <FPI16, MathFPI16>(num, num)); }
/// <summary>Returns a range from lo to the MaxValue of the number type.</summary> public static NumRange <FPI16, MathFPI16> StartingAt(FPI16 lo) { return(new NumRange <FPI16, MathFPI16>(lo, FPI16.MaxValue)); }
/// <summary>Returns a range from lo to hi that excludes hi by decreasing it by 1.</summary> public static NumRange <FPI16, MathFPI16> ExcludeHi(FPI16 lo, FPI16 hi) { return(new NumRange <FPI16, MathFPI16>(lo, hi - 1)); }
/// <summary>Returns a range from lo to hi that includes both lo and hi.</summary> public static NumRange <FPI16, MathFPI16> Inclusive(FPI16 lo, FPI16 hi) { return(new NumRange <FPI16, MathFPI16>(lo, hi)); }