public static DiscreteInterval FromEndpoints(
int a,
int b
)
Public Shared Function FromEndpoints (
a As Integer,
b As Integer
) As DiscreteInterval
public:
static DiscreteInterval FromEndpoints(
int a,
int b
)
static member FromEndpoints :
a : int *
b : int -> DiscreteInterval
In order that width calculations always fit within a UInt32, we limit discrete intervals to the symmetric range of signed integers -MaxValue to +MaxValue. That is, the value MinValue is not allowed. This should almost never have a practical effect, unless you attempt to instantiate the full interval. For such a purpose, use Infinite instead.