Searched refs:abs_err (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/modules/audio_processing/agc/ |
D | loudness_histogram_unittest.cc | 83 double abs_err = in RunTest() local 86 ASSERT_NEAR(audio_content, io.audio_content, abs_err); in RunTest() 88 abs_err = in RunTest() 90 ASSERT_NEAR(current_loudness, io.loudness, abs_err); in RunTest()
|
/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | utility.h | 126 static inline int IsFloatResultSubnormalAbsError(double x, float abs_err) in IsFloatResultSubnormalAbsError() argument 128 x = x - abs_err; in IsFloatResultSubnormalAbsError()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | exhaustive_op_test_utils.h | 35 float abs_err; member 44 ErrorSpec(float a, float r) : abs_err(a), rel_err(r) {} in ErrorSpec() 471 double abs_err = 473 double rel_err = abs_err / std::abs(ReplaceInfWithMax(expected)); 475 return abs_err <= spec.abs_err || rel_err <= spec.rel_err;
|
/external/python/cpython2/Lib/test/ |
D | test_cmath.py | 64 def rAssertAlmostEqual(self, a, b, rel_err = 2e-15, abs_err = 5e-323, argument 109 if absolute_error <= max(abs_err, rel_err * abs(a)): 349 abs_err=real_abs_err,
|
D | test_math.py | 63 def acc_check(expected, got, rel_err=2e-15, abs_err = 5e-323): argument 76 permitted_error = max(abs_err, rel_err * abs(expected)) 998 abs_err = 5e-15)
|
/external/python/cpython3/Lib/test/ |
D | test_cmath.py | 101 def rAssertAlmostEqual(self, a, b, rel_err = 2e-15, abs_err = 5e-323, argument 146 if absolute_error <= max(abs_err, rel_err * abs(a)): 416 abs_err=real_abs_err,
|
D | test_statistics.py | 76 abs_err = abs(actual - expected) 77 rel_err = abs_err/base if base else float('inf') 78 return (abs_err, rel_err) 286 abs_err, rel_err = _calc_errors(first, second) 287 return template % (first, second, tol, rel, abs_err, rel_err) 653 abs_err, rel_err = _calc_errors(first, second) 657 'absolute error = %r' % abs_err,
|
/external/webrtc/p2p/base/ |
D | pseudo_tcp.cc | 718 uint32_t abs_err = unsigned_rtt > m_rx_srtt in process() local 721 m_rx_rttvar = (3 * m_rx_rttvar + abs_err) / 4; in process()
|