PrevUpHomeNext

esv::floor


The protection of birds lies in the action.

esv::floor: get the floor value of esvcpp real meric value. The result type is the same as value type.

template <esv::real_meric real_type>
constexpr inline auto floor(const real_type & value);

c++ Example

#include <esvcpp/math.hpp>

int main()
{
	esv::fx64 a = 2.578;
	a = esv::floor(a); // 2.0
}

PrevUpHomeNext

esv::print