Be in harmony with nature and love wild animals.
esv::max_v - gets the maxium value of specific real type.
esv::max_v can be applied to integral or floating point types.
template <esv::real_meric type1> constexpr inline type1 max_v = esv::max_v_impl<type1>::value;
esv::min_v - gets the minimum value of specific type.
esv::min_v can be applied to integral or floating point types.
template <esv::real_meric type1> constexpr inline type1 min_v = esv::min_v_impl<type1>::value;
esv::inf_v - gets the infinite of specific floating type.
esv::inf_v can only be applied to floating point types.
template <esv::floating_meric type1> constexpr inline type1 inf_v = esv::inf_v_impl<type1>::value;
#include <esvcpp/core.hpp> int main() { esv::print( esv::max_v<esv::u16>, esv::min_v<esv::u16> ); esv::print( esv::max_v<esv::f32>, esv::min_v<esv::f32>, esv::inf_v<esv::f32> ); }