Bitwise operators¶
-
template<class
T
, classA
>
autoxsimd
::
bitwise_and
(batch<T, A> const &x, batch<T, A> const &y)¶ Computes the bitwise and of the batches
x
andy
.- Return
- the result of the bitwise and.
- Parameters
x
: batch involved in the operation.y
: batch involved in the operation.
-
template<class
T
, classA
>
autoxsimd
::
bitwise_and
(batch_bool<T, A> const &x, batch_bool<T, A> const &y)¶ Computes the bitwise and of the batches
x
andy
.- Return
- the result of the bitwise and.
- Parameters
x
: batch involved in the operation.y
: batch involved in the operation.
-
template<class
T
, classA
>
batch<T, A>xsimd
::
bitwise_andnot
(batch<T, A> const &x, batch<T, A> const &y)¶ Computes the bitwise and not of batches
x
andy
.- Return
- the result of the bitwise and not.
- Parameters
x
: batch involved in the operation.y
: batch involved in the operation.
-
template<class
T
, classA
>
batch<T, A>xsimd
::
bitwise_not
(batch<T, A> const &x)¶ Computes the bitwise not of batch
x
.- Return
- the result of the bitwise not.
- Parameters
x
: batch involved in the operation.
-
template<class
T
, classA
>
batch_bool<T, A>xsimd
::
bitwise_not
(batch_bool<T, A> const &x)¶ Computes the bitwise not of batch
x
.- Return
- the result of the bitwise not.
- Parameters
x
: batch involved in the operation.
-
template<class
T
, classA
>
autoxsimd
::
bitwise_or
(batch<T, A> const &x, batch<T, A> const &y)¶ Computes the bitwise or of the batches
x
andy
.- Return
- the result of the bitwise or.
- Parameters
x
: scalar or batch of scalarsy
: scalar or batch of scalars
-
template<class
T
, classA
>
autoxsimd
::
bitwise_or
(batch_bool<T, A> const &x, batch_bool<T, A> const &y)¶ Computes the bitwise or of the batches
x
andy
.- Return
- the result of the bitwise or.
- Parameters
x
: scalar or batch of scalarsy
: scalar or batch of scalars