printing double<float128> wasn't working. But I'm not sure if that's the correct fix.

This commit is contained in:
Janek Kozicki
2021-07-22 19:11:12 +02:00
parent 11a134424c
commit cebca3b1df
2 changed files with 6 additions and 6 deletions

View File

@@ -152,7 +152,7 @@ int test_op(char op, const unsigned count = 10000U)
if (delta > MaxError)
{
std::cerr << std::setprecision(std::numeric_limits<naked_double_float_type>::digits10 + 2);
std::cerr << " [FAILED] while performing '" << ctrl_a << "' " << op << " '" << ctrl_b << "'" << std::endl;
std::cerr << " [FAILED] while performing '" << std::setprecision(100000) << ctrl_a << "' " << op << " '" << ctrl_b << "', got incorrect result: " << (df_c) << std::endl;
// uncomment for more debugging information (only for cpp_double_float<> type)
//std::cerr << "(df_a = " << df_a.get_raw_str() << ", df_b = " << df_b.get_raw_str() << ")" << std::endl;