Handbook
Glossary
interval-1- ( i1 -- i2 )
Factor handbook
»
The language
»
Numbers
»
Intervals
»
Interval arithmetic
Prev:
interval-1+ ( i1 -- i2 )
Next:
interval-neg ( i1 -- i2 )
Vocabulary
math
.
intervals
Inputs
i1
an
interval
Outputs
i2
an
interval
Word description
Subtracts 1 from an interval.
Examples
USING: math.intervals prettyprint ; 10 11 [a,b] interval-1- .
T{ interval { from { 9 t } } { to { 10 t } } }
Definition
IN:
math.intervals
:
interval-1-
( i1 -- i2 )
-1
[a,a]
interval+
;