Home
last modified time | relevance | path

Searched refs:max_err (Results 1 – 25 of 32) sorted by relevance

12

/third_party/boost/libs/multiprecision/test/
Dtest_atan.cpp147 unsigned max_err = 0; in test() local
153 if (err > max_err) in test()
154 max_err = err; in test()
158 if (err > max_err) in test()
160 max_err = err; in test()
164 std::cout << "Max error was: " << max_err << std::endl; in test()
165 BOOST_TEST(max_err < 10); in test()
178 if (err > max_err) in test()
180 max_err = err; in test()
185 if (err > max_err) in test()
[all …]
Dtest_cos.cpp188 boost::uintmax_t max_err = 0; in test() local
195 if (err > max_err) in test()
196 max_err = err; in test()
200 if (err > max_err) in test()
201 max_err = err; in test()
203 std::cout << "Max error was: " << max_err << std::endl; in test()
204 BOOST_TEST(max_err < 5000000000ULL); in test()
263 max_err = 0; in test()
270 if (err > max_err) in test()
271 max_err = err; in test()
[all …]
Dtest_sin.cpp188 boost::uintmax_t max_err = 0; in test() local
195 if (err > max_err) in test()
196 max_err = err; in test()
200 if (err > max_err) in test()
201 max_err = err; in test()
203 std::cout << "Max error was: " << max_err << std::endl; in test()
204 BOOST_TEST(max_err < 5000000000uLL); in test()
261 max_err = 0; in test()
268 if (err > max_err) in test()
270 max_err = err; in test()
[all …]
Dtest_exp.cpp121 unsigned max_err = 0; in test() local
127 if (err > max_err) in test()
129 max_err = err; in test()
134 if (err > max_err) in test()
136 max_err = err; in test()
139 std::cout << "Max error was: " << max_err << std::endl; in test()
141 BOOST_TEST(max_err < 40000); in test()
143 BOOST_TEST(max_err < 6200); in test()
145 BOOST_TEST(max_err < 5000); in test()
164 max_err = 0; in test()
[all …]
Dtest_sinh.cpp120 unsigned max_err = 0; in test() local
127 if (err > max_err) in test()
128 max_err = err; in test()
132 if (err > max_err) in test()
133 max_err = err; in test()
190 max_err = 0; in test()
197 if (err > max_err) in test()
199 max_err = err; in test()
204 if (err > max_err) in test()
206 max_err = err; in test()
[all …]
Dtest_log.cpp173 unsigned max_err = 0; in test() local
179 if (err > max_err) in test()
180 max_err = err; in test()
185 if (err > max_err) in test()
187 max_err = err; in test()
193 if (err > max_err) in test()
194 max_err = err; in test()
199 if (err > max_err) in test()
200 max_err = err; in test()
202 std::cout << "Max error was: " << max_err << std::endl; in test()
[all …]
Dtest_cosh.cpp120 unsigned max_err = 0; in test() local
127 if (err > max_err) in test()
130 max_err = err; in test()
135 if (err > max_err) in test()
138 max_err = err; in test()
141 std::cout << "Max error was: " << max_err << std::endl; in test()
142 BOOST_TEST(max_err < 2000); in test()
Dtest_asin.cpp76 unsigned max_err = 0; in test() local
82 if (err > max_err) in test()
83 max_err = err; in test()
87 if (err > max_err) in test()
89 max_err = err; in test()
92 std::cout << "Max error was: " << max_err << std::endl; in test()
93 BOOST_TEST(max_err < 20); in test()
Dtest_acos.cpp85 unsigned max_err = 0; in test() local
91 if (err > max_err) in test()
93 max_err = err; in test()
96 std::cout << "Max error was: " << max_err << std::endl; in test()
98 BOOST_TEST(max_err < 320); in test()
100 BOOST_TEST(max_err < 60); in test()
Dtest_sqrt.cpp169 unsigned max_err = 0; in test() local
175 if (err > max_err) in test()
177 max_err = err; in test()
180 std::cout << "Max error was: " << max_err << std::endl; in test()
182 BOOST_TEST(max_err < 30); in test()
184 BOOST_TEST(max_err < 20); in test()
Dtest_tan.cpp587 unsigned max_err = 0; in test() local
593 if (err > max_err) in test()
595 max_err = err; in test()
600 if (err > max_err) in test()
602 max_err = err; in test()
605 std::cout << "Max error was: " << max_err << std::endl; in test()
Dtest_pow.cpp778 unsigned max_err = 0; in test() local
784 if (err > max_err) in test()
786 max_err = err; in test()
791 if (err > max_err) in test()
793 max_err = err; in test()
796 std::cout << "Max error was: " << max_err << std::endl; in test()
Dtest_tanh.cpp120 unsigned max_err = 0; in test() local
127 if (err > max_err) in test()
128 max_err = err; in test()
130 std::cout << "Max error was: " << max_err << std::endl; in test()
131 BOOST_TEST(max_err < 100); in test()
/third_party/boost/libs/math/doc/graphs/
Dbessel_i1_errors.cpp33 float max_err = 0; in test_type() local
46 if(fabs(err) > max_err) in test_type()
55 max_err = static_cast<float>(fabs(err)); in test_type()
65 int y_interval = static_cast<int>(ceil(max_err / 5)); in test_type()
68 …<< "&gt;(1, x) over [0, 7.75]\n(max error = " << std::setprecision(2) << max_err << ")" << std::en… in test_type()
73 ….y_range(-(int)ceil(max_err), (int)ceil(max_err)).x_label("x").title(ss.str()).y_major_interval(y_… in test_type()
75 if(max_err > 1) in test_type()
78 if(max_err > 2) in test_type()
85 std::cout << "Maximum error for type " << name << " was: " << max_err << std::endl; in test_type()
87 max_err = 0; in test_type()
[all …]
Dbessel_i0_errors.cpp33 float max_err = 0; in test_type() local
46 if(fabs(err) > max_err) in test_type()
55 max_err = static_cast<float>(fabs(err)); in test_type()
65 int y_interval = static_cast<int>(ceil(max_err / 5)); in test_type()
68 …<< "&gt;(0, x) over [0, 7.75]\n(max error = " << std::setprecision(2) << max_err << ")" << std::en… in test_type()
73 ….y_range(-(int)ceil(max_err), (int)ceil(max_err)).x_label("x").title(ss.str()).y_major_interval(y_… in test_type()
81 std::cout << "Maximum error for type " << name << " was: " << max_err << std::endl; in test_type()
83 max_err = 0; in test_type()
100 if(fabs(err) > max_err) in test_type()
101 max_err = static_cast<float>(fabs(err)); in test_type()
[all …]
/third_party/libsnd/src/G72x/
Dg72x_test.c101 int code, position, max_err ; in g723_test() local
123 max_err = 0 ; in g723_test()
127 if (abs (orig [k] - data [k]) > max_err) in g723_test()
129 max_err = abs (orig [k] - data [k]) ; in g723_test()
133 printf ("\n\nMax error of %d at postion %d.\n", max_err, position) ; in g723_test()
/third_party/flutter/skia/src/core/
DSkCubicMap.cpp35 static float max_err; variable
46 if (err > max_err) { in compute_t_from_x()
47 max_err = err; in compute_t_from_x()
48 SkDebugf("max error %g\n", max_err); in compute_t_from_x()
/third_party/skia/src/core/
DSkCubicMap.cpp36 static float max_err; variable
47 if (err > max_err) { in compute_t_from_x()
48 max_err = err; in compute_t_from_x()
49 SkDebugf("max error %g\n", max_err); in compute_t_from_x()
/third_party/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c138 static unsigned long long max_err = MAX_ERR; variable
213 max_err = atoi(v) * NS_PER_US; in parse_args()
367 ((intervals[i].records[l].y - last) > max_err)) { in check_times()
378 max_err)) { in check_times()
/third_party/ffmpeg/libavcodec/
Drpzaenc.c323 int max_err = 0; in calc_lsq_max_fit_error() local
339 if (err > max_err) in calc_lsq_max_fit_error()
340 max_err = err; in calc_lsq_max_fit_error()
346 if (err > max_err) in calc_lsq_max_fit_error()
347 max_err += err; in calc_lsq_max_fit_error()
352 return max_err; in calc_lsq_max_fit_error()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dexponential_distribution_test.cc217 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
219 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
230 p, max_err, lambda(), m.mean, mean(), in SingleZTest()
/third_party/abseil-cpp/absl/random/
Dexponential_distribution_test.cc228 const double max_err = absl::random_internal::MaxErrorTolerance(p); in SingleZTest() local
230 const bool pass = absl::random_internal::Near("z", z, 0.0, max_err); in SingleZTest()
241 p, max_err, lambda(), m.mean, mean(), in SingleZTest()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc411 const double max_err = InverseNormalSurvival(one_sided_pvalue); in MaxErrorTolerance() local
412 ABSL_ASSERT(max_err > 0); in MaxErrorTolerance()
413 return max_err; in MaxErrorTolerance()
/third_party/abseil-cpp/absl/random/internal/
Ddistribution_test_util.cc411 const double max_err = InverseNormalSurvival(one_sided_pvalue); in MaxErrorTolerance() local
412 ABSL_ASSERT(max_err > 0); in MaxErrorTolerance()
413 return max_err; in MaxErrorTolerance()
/third_party/optimized-routines/math/tools/
Dremez.jl862 max_err = maximum([abs(y) for (x,y) = extrema])
863 variation = (max_err - min_err) / max_err
867 return nc, dc, max_err, extrema
873 n, d, max_err, w)

12