Classification functions

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

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

Parameters

x – batch of floating point values.

Returns

a batch of booleans.

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

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

Parameters

x – batch of floating point values.

Returns

a batch of booleans.

Warning

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

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