simdpp::test_bits_any
From libsimdpp-docs
< misc
template<unsigned N, class V>
bool test_bits_any( const any_vec<N,V1>& a ); |
||
Checks whether any bits are set in the given vector.
Parameters[edit]
a | - | a vector to analyze |
Return value[edit]
true if any bits in the given vector are set, false otherwise.
Equivalent operation[edit]
r = (bool)(a0 & a1 & a2 & ... & aN)
See also[edit]
computes the sum of all elements in the vector (function template) |
|
computes bitwise OR of all elements in the vector (function template) |