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

Prev:interval-1- ( i1 -- i2 )
Next:interval-bitnot ( i1 -- i2 )


Vocabulary
math.intervals

Inputs
i1an interval


Outputs
i2an interval


Word description
Negates an interval.

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


Definition