Home
last modified time | relevance | path

Searched refs:percent_tolerance (Results 1 – 12 of 12) sorted by relevance

/third_party/boost/libs/test/doc/examples/
Ddecorator_13.run-fail.cpp34 * utf::tolerance(fpc::percent_tolerance(0.05)))
41 * utf::tolerance(fpc::percent_tolerance(0.5)))
/third_party/boost/libs/test/test/writing-test-ts/
Dfp-comparisons-test.cpp265 ::fpc::close_at_tolerance<double> pred( ::fpc::percent_tolerance( epsilon ), ::fpc::FPC_WEAK ); in BOOST_AUTO_TEST_CASE()
269 BOOST_TEST( !check_is_close( fp1, fp2, ::fpc::percent_tolerance( epsilon ) ) ); in BOOST_AUTO_TEST_CASE()
276 …BOOST_CHECK_PREDICATE( ::fpc::close_at_tolerance<double>( ::fpc::percent_tolerance( epsilon ), ::f… in BOOST_AUTO_TEST_CASE()
278 … BOOST_TEST( !::fpc::close_at_tolerance<double>( ::fpc::percent_tolerance( epsilon ) )(fp1, fp2) ); in BOOST_AUTO_TEST_CASE()
Dfp-multiprecision-comparison-test.cpp117 BOOST_TEST( a == b, tt::tolerance( tt::fpc::percent_tolerance( eps * 100 ) ) ); in BOOST_AUTO_TEST_CASE()
145 …BOOST_TEST( a == b, tt::tolerance( tt::fpc::percent_tolerance<cpp_dec_float_50_et>( eps * 100 ) ) … in BOOST_AUTO_TEST_CASE()
Dfp-relational-operator.cpp176 *utf::tolerance<float>(boost::math::fpc::percent_tolerance<float>(0.01))
Dtest_tools-test.cpp788 BOOST_TEST( d2 <= d1, tt::tolerance( tt::fpc::percent_tolerance( 1e-5 ) ) ); in TEST_CASE()
/third_party/boost/libs/test/example/
Dunit_test_example_10.cpp14 using boost::math::fpc::percent_tolerance;
111 BOOST_REQUIRE_PREDICATE( close_at_tolerance<double>( percent_tolerance( 1e-9 ) ), in test_deposit()
/third_party/boost/boost/test/tools/old/
Dinterface.hpp207 …ools::check_is_close_t(), "", WARN, CHECK_CLOSE, (L)(R)(::boost::math::fpc::percent_tolerance(T)) )
209 …ols::check_is_close_t(), "", CHECK, CHECK_CLOSE, (L)(R)(::boost::math::fpc::percent_tolerance(T)) )
211 …s::check_is_close_t(), "", REQUIRE, CHECK_CLOSE, (L)(R)(::boost::math::fpc::percent_tolerance(T)) )
/third_party/boost/libs/geometry/test/formulas/
Dtest_formula.hpp29 …_tools::check_is_close_t(), M, CHECK, CHECK_MSG, (L)(R)(::boost::math::fpc::percent_tolerance(T)) )
/third_party/boost/boost/test/tools/
Dfloating_point_comparison.hpp126 percent_tolerance( FPT v ) in percent_tolerance() function
/third_party/boost/libs/geometry/test/srs/
Dprojections.cpp47 …bool ok = ::boost::test_tools::check_is_close_t()(v, ve, ::boost::math::fpc::percent_tolerance(0.0… in check()
/third_party/boost/libs/test/doc/testing_tools/
Dtesting_floating_points.qbk41 * boost::unit_test::tolerance( boost::test_tools::fpc::percent_tolerance(2.0) )
49 boost::test_tools::tolerance( boost::test_tools::fpc::percent_tolerance(2.0) )
Dtesting_tools_reference.qbk126 The variant with `percent_tolerance` uses value ``eps / 100`` as tolerance.