Skip to content

function rem(const vec<T, N> &, const vec<T, N> &) round

template <f_class T, size_t N>
KFR_INTRINSIC vec<T, N> rem(const vec<T, N>& x, const vec<T, N>& y)

Returns the element-wise floating-point remainder of vectors x and y.

Template parameters
T Floating-point type.
N Number of elements in the vector.
Parameters
x Dividend vector.
y Divisor vector.
Returns
Element-wise floating-point remainder of x divided by y.

Defined at simd/round.hpp:180