Skip to content

function ceil(const T1 &) round

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

Returns the smallest integer value not less than x.

Template parameters
T1 Numeric type.
Parameters
x Input value.
Returns
The smallest integer value not less than x.

Defined at simd/round.hpp:54