Classification functions

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

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>
inline batch_bool<T, A> xsimd::isinf(batch<T, A> const &x) noexcept

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

Parameters

x – batch of floating point values.

Returns

a batch of booleans.

template<class T, class A>
inline 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.

Parameters

x – batch of floating point values.

Returns

a batch of booleans.