Skip to content

Function isnegative

function isnegative(const vec<T, N> &) simd

template <typename T, size_t N>
KFR_INTRINSIC mask<T, N> isnegative(const vec<T, N>& x)

Detect negative values element-wise by inspecting the sign bit.

Parameters
x Input vector.
Returns
Mask of elements whose sign bit is set.

Fully qualified name: kfr::isnegative(const vec<T, N> &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.