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