Handbook
Glossary
vbitor ( u v -- w )
Factor handbook
»
The language
»
Numbers
»
Vector operations
»
Vector component- and bit-wise logic
Prev:
vbitandn ( u v -- w )
Next:
vbitxor ( u v -- w )
Vocabulary
math
.
vectors
Inputs
u
a
sequence
of
real
s
v
a
sequence
of
real
s
Outputs
w
a
sequence
of
real
s
Word description
Takes the bitwise or of
u
and
v
component-wise.
Notes
Unlike
bitor
, this word may be used on a specialized array of floats or doubles, in which case the bitwise representation of the floating point numbers is operated upon.
See also
vbitand
,
vbitandn
,
vbitxor
,
vbitnot
Definition
IN:
math.vectors
GENERIC:
vbitor
( u v -- w )
Methods
USING:
generic
math.vectors
sequences.cords
;
M:
cord
vbitor
[
vbitor
]
[
M\
cord
vbitor
(call-next-method)
]
cord-2map
;
inline
USING:
kernel
math
math.vectors
sequences
;
M:
object
vbitor
[
bitor
]
2map
;
inline
USING:
generic
kernel
math.vectors
math.vectors.simd
math.vectors.simd.intrinsics
math.vectors.simd.private
;
M:
simd-128
vbitor
dup
simd-rep
[
(simd-vbitor)
]
[
M\
simd-128
vbitor
(call-next-method)
]
vv->v-op
;
inline