Returns false if the passed number, n, is within the interval represented by this Interval instance
Returns false if the passed number, n, is within the interval represented by this Interval instance
The purpose of this method, which will likely be used only rarely, is to achieve symmetry around the !== operator. The
TripleEquals trait (and its type-checking siblings TypeCheckedTripleEquals and ConversionCheckedTripleEquals) enable you to write:
a !== (1.0 +- 0.1)
This method ensures the following mirrored form means the same thing:
(1.0 +- 0.1) !== a
a number that may or may not lie within this interval
Returns true if the passed number, n, is within the interval represented by this Interval instance
Returns true if the passed number, n, is within the interval represented by this Interval instance
The purpose of this method, which will likely be used only rarely, is to achieve symmetry around the === operator. The
TripleEquals trait (and its type-checking siblings TypeCheckedTripleEquals and ConversionCheckedTripleEquals) enable you to write:
a === (1.0 +- 0.1)
This method ensures the following mirrored form means the same thing:
(1.0 +- 0.1) === a
a number that may or may not lie within this interval
Determines whether the passed Numeric value n is within the interval represented
by this Interval instance.
the pivot number at the center of the interval
the tolerance that determines the high and low point of the interval
Class representing an interval (i.e., range) between two numbers.
The interval is expressed in terms of a
Numericpivot and tolerance. The interval extends frompivot - tolerancetopivot + tolerance, inclusive.the pivot number at the center of the interval
the tolerance that determines the high and low point of the interval