PrevUpHomeNext

esv::make_float_x_t


Boring is the superior treatment of rational animals.

esv::make_float_x_t - esv::make_float_basic_x_t, esv::make_float_ect_x_t

esv::make_float_x_t is used make a floating point class type from an integral value size1. It will make a lowest requirement for the value of size1.

esv::make_float_x_t related - esv::make_float_basic_x_t, esv::make_float_ect_x_t

The bit size computing:

c++ example

#include <esvcpp/core.hpp>

int main()
{
	static_assert(esv::same_as<esv::make_float_x_t<63>, esv::fx64>);
	static_assert(esv::same_as<esv::make_float_x_t<64>, esv::fx64>);
	static_assert(esv::same_as<esv::make_float_x_t<65>, esv::fx128>);
}

See Also

esv::make_unsigned_x_t

esv::make_signed_x_t


PrevUpHomeNext

E