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

Prev:interval-abs ( i1 -- i2 )


Vocabulary
math.intervals

Inputs
i1an interval


Outputs
i2an interval


Word description
Integer-valued Base-2 logarithm of an interval.

Examples
USING: math.intervals prettyprint ; 20 32 [a,b] interval-log2 .
T{ interval { from { 0 t } } { to { 5 t } } }


Definition


Methods