interval-abs ( i1 -- i2 )
Factor handbook » The language » Numbers » Intervals » Interval arithmetic

Prev:interval-2/ ( i1 -- i2 )
Next:interval-log2 ( i1 -- i2 )


Vocabulary
math.intervals

Inputs
i1an interval


Outputs
i2an interval


Word description
Absolute value of an interval.

Examples
USING: math.intervals prettyprint ; -11 -10 [a,b] interval-abs .
T{ interval { from { 10 t } } { to { 11 t } } }


Definition