Skip to content

function fmod(const T &, const T &) round

template <f_class T>
KFR_INTRINSIC T fmod(const T& x, const T& y)

Returns the floating-point remainder of dividing x by y.

Template parameters
T Floating-point type.
Parameters
x Dividend.
y Divisor.
Returns
The remainder of the division x / y.

Defined at simd/round.hpp:151