Skip to content

Function rem

function rem(const T1 &, const T2 &) simd

template <typename T1, typename T2, typename Tout = std::common_type_t<T1, T2>>
KFR_INTRINSIC Tout rem(const T1& x, const T2& y)

Remainder of x divided by y .

Fully qualified name: kfr::rem(const T1 &, const T2 &)

Function rem

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

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.

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

Declared at simd/round.hpp:177

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