Template Function TRAP::Math::Ceil(T)#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::Ceil(T x)#

Find the nearest integer that is greater than or equal to x.

Parameters:

x – Specify the value to evaluate.

Returns:

Value equal to the nearest integer that is greater than or equal to x.