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

Prev:interval* ( i1 i2 -- i3 )
Next:interval/i ( i1 i2 -- i3 )


Vocabulary
math.intervals

Inputs
i1an interval
i2an interval


Outputs
i3an interval


Word description
Ouputs an interval i3 containing all possible values from dividing any element in i1 by any element from i2, using / to perform the division.

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


See also
interval/i, interval/f

Definition