Classification functions

template<class B>
simd_batch_traits<B>::batch_bool_type xsimd::isfinite(const simd_base<B> &x)

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

they are different from infinite or NaN.

Return

a batch of booleans.

Parameters
  • x: batch of floating point values.

template<class B>
simd_batch_traits<B>::batch_bool_type xsimd::isinf(const simd_base<B> &x)

Determines if the scalars in the given batch x are positive or negative infinity.

Return

a batch of booleans.

Parameters
  • x: batch of floating point values.

Warning

doxygenfunction: Unable to resolve multiple matches for function “isnan” with arguments (const simd_batch<X>&) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:

- static batch_bool_type xsimd::detail::batch_kernel::isnan(const batch_type&)
- template<class X>
  simd_batch_traits<X>::batch_bool_type xsimd::isnan(const simd_base<X>&)