◆ is_simd_logical()

bool boost::simd::is_simd_logical ( Value const &  x)

returns True if each vector elements have all bits or no bit set.

Header <boost/simd/function/is_simd_logical.hpp>
Note

Using is_simd_logical(x) is similar to all(logical_or(x == Allbits(as(x)), x == Zero(as(x))))