Handbook
Glossary
ptx-float-ftz? ( object -- ? )
Vocabulary
cuda
.
ptx
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
ptx-float-ftz
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
cuda.ptx
:
ptx-float-ftz?
( object -- ? )
dup
dup
tuple?
[
layout-of
dup
1
slot
13
fixnum>=
[
13
slot
dup
\
neg
eq?
[
drop
t
]
[
dup
\
min
eq?
[
drop
t
]
[
dup
\
max
eq?
[
drop
t
]
[
\
abs
eq?
]
if
]
if
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
[
drop
t
]
[
ptx-float-env?
]
if
;