Skip to content

function ifloor(const T1 &) round

template <numeric T1>
KFR_INTRINSIC itype<T1> ifloor(const T1& x)

Returns the largest integer value not greater than x, as an integer type.

Template parameters
T1 Numeric type.
Parameters
x Input value.
Returns
Integer equivalent of floor( x).

Defined at simd/round.hpp:102