PrevUpHomeNext

utx::ceil


utx::ceil: get the ceil value of utxpp real meric value. The result type is the same as the value type.

template <utx::real_meric real_type>
constexpr inline auto ceil(const real_type & value);

c++ Example

#include <utxcpp/math.hpp>

int main()
{
	utx::fx32 a = 3.245f;
	a = utx::ceil(a); // 4.0f;
}

PrevUpHomeNext

utx::print

esv::print