Handbook
Glossary
vmin-element ( v -- n )
Vocabulary
math
.
vectors
Inputs
v
a
sequence
Outputs
n
a
real
Word description
Returns the minimum lane value, reducing lanes in order. Floating-point SIMD reductions select the number when only one operand is NaN, and select negative zero when comparing zeros of different signs.
Definition
IN:
math.vectors
GENERIC:
vmin-element
( v -- n )
Methods
USING:
kernel
math.vectors
sequences
;
M:
object
vmin-element
minimum
;
inline
USING:
generic
kernel
math.vectors
math.vectors.simd
math.vectors.simd.intrinsics
math.vectors.simd.private
;
M:
simd-128
vmin-element
"min-element"
over
simd-rep
[
(simd-reduce)
]
[
M\
simd-128
vmin-element
(call-next-method)
]
vx->x-op
;
inline