Skip to content

function floor(const T1 &) round

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

Returns the largest integer value not greater than x.

Template parameters
T1 Numeric type.
Parameters
x Input value.
Returns
The largest integer value not greater than x.

Defined at simd/round.hpp:42