Handbook
Glossary
ptx-testp-op? ( object -- ? )
Vocabulary
cuda
.
ptx
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
ptx-testp-op
class.
Definition
USING:
kernel
;
IN:
cuda.ptx
:
ptx-testp-op?
( object -- ? )
dup
.subnormal?
[
drop
t
]
[
dup
.normal?
[
drop
t
]
[
dup
.notanumber?
[
drop
t
]
[
dup
.number?
[
drop
t
]
[
dup
.infinite?
[
drop
t
]
[
.finite?
]
if
]
if
]
if
]
if
]
if
;