Handbook
Glossary
cl-fp-feature? ( object -- ? )
Vocabulary
opencl
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
cl-fp-feature
class.
Definition
USING:
kernel
;
IN:
opencl
:
cl-fp-feature?
( object -- ? )
dup
cl-fma?
[
drop
t
]
[
dup
cl-round-to-inf?
[
drop
t
]
[
dup
cl-round-to-zero?
[
drop
t
]
[
dup
cl-round-to-nearest?
[
drop
t
]
[
dup
cl-inf-and-nan?
[
drop
t
]
[
cl-denorm?
]
if
]
if
]
if
]
if
]
if
;