Handbook
Glossary
int-vector-rep? ( object -- ? )
Vocabulary
cpu
.
architecture
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
int-vector-rep
class.
Definition
USING:
kernel
;
IN:
cpu.architecture
:
int-vector-rep?
( object -- ? )
dup
ulonglong-2-rep?
[
drop
t
]
[
dup
longlong-2-rep?
[
drop
t
]
[
dup
uint-4-rep?
[
drop
t
]
[
dup
int-4-rep?
[
drop
t
]
[
dup
ushort-8-rep?
[
drop
t
]
[
dup
short-8-rep?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
if
]
if
;