Handbook
Glossary
[-inf,b) ( b -- interval )
Factor handbook
»
The language
»
Numbers
»
Intervals
»
Creating intervals
Prev:
[-inf,b] ( b -- interval )
Next:
[a,inf] ( a -- interval )
Vocabulary
math
.
intervals
Inputs
b
a
real
Outputs
interval
an
interval
Word description
Creates a new interval containing all real numbers less than
b
, together with negative infinity.
Definition
USING:
kernel
;
IN:
math.intervals
:
[-inf,b)
( b -- interval )
-1/0.
swap
[a,b)
;
inline