Handbook
Glossary
round<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
round<<
( value object -- )
Methods
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
add
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
11
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
cos
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
cvt
round<<
[
dup
[
ptx-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-rounding-mode
}
bad-slot-value
]
unless
]
dip
7
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
div
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
9
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
ex2
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
fma
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
12
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
lg2
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
mad
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
12
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
mul
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
10
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
rcp
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
rsqrt
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
sin
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
sqrt
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
sub
round<<
[
dup
[
ptx-float-rounding-mode?
]
[
t
]
if*
[
maybe{
ptx-float-rounding-mode
}
bad-slot-value
]
unless
]
dip
11
set-slot
;
inline