Handbook
Glossary
[a,b) ( a b -- interval )
Factor handbook
»
The language
»
Numbers
»
Intervals
»
Creating intervals
Prev:
(a,b) ( a b -- interval )
Next:
(a,b] ( a b -- interval )
Vocabulary
math
.
intervals
Inputs
a
a
real
b
a
real
Outputs
interval
an
interval
Word description
Creates a new interval that includes the lower endpoint and excludes the upper endpoint.
Definition
USING:
kernel
;
IN:
math.intervals
:
[a,b)
( a b -- interval )
[
closed-point
]
dip
open-point
<interval>
;
foldable
flushable