Classification functions

template<class T, class A>
batch_bool<T, A> xsimd::isfinite(batch<T, A> const &x) noexcept

Determines if the scalars in the given batch x are finite values.

Return

a batch of booleans.

Parameters
  • x: batch of floating point values.

template<class T, class A>
batch_bool<T, A> xsimd::isinf(batch<T, A> const &x) noexcept

Determines if the scalars in the given batch x are inf values.

Return

a batch of booleans.

Parameters
  • x: batch of floating point values.

template<class T, class A>
batch<T, A>::batch_bool_type xsimd::isnan(batch<T, A> const &x) noexcept

Determines if the scalars in the given batch x are NaN values.

Return

a batch of booleans.

Parameters
  • x: batch of floating point values.