Skip to content

function fract(const T1 &) round

template <numeric T1>
KFR_INTRINSIC T1 fract(const T1& x)

Returns the fractional part of x.

Template parameters
T1 Numeric type.
Parameters
x Input value.
Returns
The fractional part of x.

Defined at simd/round.hpp:90