File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ run-fail benchmarks.cpp ;
4545compile-fail concepts_test.cpp ;
4646run github_issue_426.cpp ;
4747run github_issue_448.cpp ;
48- run github_issue_519.cpp ;
48+ run-fail github_issue_519.cpp ;
4949run ibm_abs.cpp ;
5050run ibm_add.cpp ;
5151run link_1.cpp link_2.cpp link_3.cpp ;
Original file line number Diff line number Diff line change @@ -30,15 +30,17 @@ auto main() -> int
3030
3131 strm << std::setprecision (std::numeric_limits<local_decimal_type>::digits10) << x;
3232
33- std::cout << strm.str () << std::endl;
33+ std::cout << " Expected: 4.56" << std::endl;
34+ std::cout << " Got: " << strm.str () << std::endl;
3435 }
3536
3637 {
3738 std::stringstream strm;
3839
3940 strm << std::setprecision (std::numeric_limits<local_decimal_type>::digits10) << tg;
4041
41- std::cout << strm.str () << std::endl;
42+ std::cout << " Expected: 12.64819265438397922113369900828314" << std::endl;
43+ std::cout << " Got: " << strm.str () << std::endl;
4244 }
4345
4446 return 1 ;
Original file line number Diff line number Diff line change @@ -63,6 +63,14 @@ namespace local
6363 const auto delta = fabs (1 - (a / b));
6464
6565 result_is_ok = (delta < tol);
66+
67+ if (!result_is_ok)
68+ {
69+ std::cerr << std::setprecision (std::numeric_limits<NumericType>::digits10) << " a: " << a
70+ << " \n b: " << b
71+ << " \n delta: " << delta
72+ << " \n tol: " << tol << std::endl;
73+ }
6674 }
6775
6876 return result_is_ok;
You can’t perform that action at this time.
0 commit comments