13#include "../Constant.hpp"
23 template <
typename FloatingType =
double>
25 return std::round(value * precision) / precision;
35 template <
typename Type>
40 std::ostringstream out;
41 out.precision(precision);
42 out << std::fixed << value;
52 template <
typename Type>
54 return trunc(log10(value));
const unsigned int DEFAULT_COUT_ERATIONAL_DIGITS
The default precision set for ERational std::cout.