Wraps the given value into the inclusive-exclusive interval between min and max.
The value to wrap.
The minimum.
The maximum.