Handbook
Glossary
comparison? ( object -- ? )
Vocabulary
gpu
.
state
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
comparison
class.
Definition
USING:
kernel
;
IN:
gpu.state
:
comparison?
( object -- ? )
dup
cmp-not-equal?
[
drop
t
]
[
dup
cmp-greater?
[
drop
t
]
[
dup
cmp-greater-equal?
[
drop
t
]
[
dup
cmp-equal?
[
drop
t
]
[
dup
cmp-less-equal?
[
drop
t
]
[
dup
cmp-less?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
if
]
if
;