Classification functions

template<class B>
inline 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.

Parameters

x – batch of floating point values.

Returns

a batch of booleans.

template<class B>
inline 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.

Parameters

x – batch of floating point values.

Returns

a batch of booleans.

Warning

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

- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &x)
- batch_bool_type isnan(const batch_type &z)
- template<class X> simd_batch_traits<X>::batch_bool_type isnan(const simd_base<X> &x)