Handbook
Glossary
half-array? ( object -- ? )
Vocabulary
specialized-arrays
.
instances
.
math
.
floats
.
half
.
half
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
half-array
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
specialized-arrays.instances.math.floats.half.half
:
half-array?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
half-array
eq?
]
[
drop
f
]
if
;