RangeF
Description
A closed interval of numbers (32-bit floating-point): [Start..End]
+----+----+----+----+----+----+----+----+---> Number axis -4 -3 -2 -1 0 1 2 3 4 ^ ^ Start End \___________________/ Length := End - Start
Public / Constants
Inv
The value of Max, with swapped start and end values.
This range can be used as the initial value for finding the minimum/maximum of a series of numbers (see Grow
).
Public / Constructors
Closed
Returns a range that represents the closed interval [a..b]
(i.e. both a
and b
are contained in the range).