Template Function librapid::floor(T)#

Function Documentation#

template<typename T>
constexpr T librapid::floor(T val)#

Return the floor of a given value

Template Parameters

T – Data type

Parameters

val – Input value

Returns

Floor of the input value