Handbook
Glossary
ptx-float-rounding-mode? ( 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-rounding-mode
class.
Definition
USING:
kernel
;
IN:
cuda.ptx
:
ptx-float-rounding-mode?
( object -- ? )
dup
.full?
[
drop
t
]
[
dup
.approx?
[
drop
t
]
[
dup
.rp?
[
drop
t
]
[
dup
.rm?
[
drop
t
]
[
dup
.rz?
[
drop
t
]
[
.rn?
]
if
]
if
]
if
]
if
]
if
;