/external/deqp/modules/gles3/functional/ |
es3fShaderCommonFunctionTests.cpp | 685 const float eps = getEpsFromBits(1.0f, mantissaBits); // epsilon for rounding bounds local 691 const int minRes = int(roundEven(in0-eps)); 692 const int maxRes = int(roundEven(in0+eps)); 1137 const float eps = getEpsFromBits(1.0f, mantissaBits); \/\/ epsilon for rounding bounds local 1373 const float eps = getEpsFromBits(1.0f, mantissaBits); \/\/ epsilon for rounding bounds local 1471 const float eps = getEpsFromBits(1.0f, mantissaBits); \/\/ epsilon for rounding bounds local 1588 const float eps = getEpsFromBits(1.0f, mantissaBits); \/\/ epsilon for rounding bounds local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderCommonFunctionTests.cpp | 763 const float eps = getEpsFromBits(1.0f, mantissaBits); // epsilon for rounding bounds local 769 const int minRes = int(roundEven(in0-eps)); 770 const int maxRes = int(roundEven(in0+eps)); 1220 const float eps = getEpsFromBits(1.0f, mantissaBits); \/\/ epsilon for rounding bounds local 1456 const float eps = getEpsFromBits(1.0f, mantissaBits); \/\/ epsilon for rounding bounds local 1554 const float eps = getEpsFromBits(1.0f, mantissaBits); \/\/ epsilon for rounding bounds local 1671 const float eps = getEpsFromBits(1.0f, mantissaBits); \/\/ epsilon for rounding bounds local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_complex.py | 28 def assertCloseAbs(self, x, y, eps=1e-9):
34 return abs(x) < eps
36 return abs(y) < eps
37 # check that relative difference < eps
38 self.assertTrue(abs((x-y)/y) < eps)
63 def assertClose(self, x, y, eps=1e-9):
65 self.assertCloseAbs(x.real, y.real, eps)
66 self.assertCloseAbs(x.imag, y.imag, eps)
|
/external/python/cpython2/Lib/test/ |
test_complex.py | 28 def assertCloseAbs(self, x, y, eps=1e-9): 34 return abs(x) < eps 36 return abs(y) < eps 37 # check that relative difference < eps 38 self.assertTrue(abs((x-y)/y) < eps) 63 def assertClose(self, x, y, eps=1e-9): 65 self.assertCloseAbs(x.real, y.real, eps) 66 self.assertCloseAbs(x.imag, y.imag, eps)
|
/external/python/cpython3/Lib/test/ |
test_complex.py | 31 def assertCloseAbs(self, x, y, eps=1e-9): 37 return abs(x) < eps 39 return abs(y) < eps 40 # check that relative difference < eps 41 self.assertTrue(abs((x-y)/y) < eps) 66 def assertClose(self, x, y, eps=1e-9): 68 self.assertCloseAbs(x.real, y.real, eps) 69 self.assertCloseAbs(x.imag, y.imag, eps)
|
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/ |
gru_ops_test.py | 323 eps = 1e-4 324 self.assertLess(error_x, eps) 325 self.assertLess(error_h, eps) 326 self.assertLess(error_w_ru, eps) 327 self.assertLess(error_w_c, eps) 328 self.assertLess(error_b_ru, eps) 329 self.assertLess(error_b_c, eps)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_complex.py | 28 def assertCloseAbs(self, x, y, eps=1e-9): 34 return abs(x) < eps 36 return abs(y) < eps 37 # check that relative difference < eps 38 self.assertTrue(abs((x-y)/y) < eps) 63 def assertClose(self, x, y, eps=1e-9): 65 self.assertCloseAbs(x.real, y.real, eps) 66 self.assertCloseAbs(x.imag, y.imag, eps)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_complex.py | 28 def assertCloseAbs(self, x, y, eps=1e-9): 34 return abs(x) < eps 36 return abs(y) < eps 37 # check that relative difference < eps 38 self.assertTrue(abs((x-y)/y) < eps) 63 def assertClose(self, x, y, eps=1e-9): 65 self.assertCloseAbs(x.real, y.real, eps) 66 self.assertCloseAbs(x.imag, y.imag, eps)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_complex.py | 28 def assertCloseAbs(self, x, y, eps=1e-9): 34 return abs(x) < eps 36 return abs(y) < eps 37 # check that relative difference < eps 38 self.assertTrue(abs((x-y)/y) < eps) 63 def assertClose(self, x, y, eps=1e-9): 65 self.assertCloseAbs(x.real, y.real, eps) 66 self.assertCloseAbs(x.imag, y.imag, eps)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_complex.py | 28 def assertCloseAbs(self, x, y, eps=1e-9): 34 return abs(x) < eps 36 return abs(y) < eps 37 # check that relative difference < eps 38 self.assertTrue(abs((x-y)/y) < eps) 63 def assertClose(self, x, y, eps=1e-9): 65 self.assertCloseAbs(x.real, y.real, eps) 66 self.assertCloseAbs(x.imag, y.imag, eps)
|
/external/opencv/cv/src/ |
cvshapedescr.cpp | 281 const float eps = FLT_EPSILON*2; local 441 radius = (float)(sqrt(radius)*(1 + eps)); 569 double eps = 1.e-5; local 632 if( (fabs( sk ) < eps && lpt > 0) || sk * sk1 < -eps ) 634 if( fabs( sk ) < eps ) 659 if( fabs( du ) > eps ) 664 if( t > eps && t < 1 - eps ) [all...] |
cvemd.cpp | 171 float eps, min_delta; local 268 eps = CV_EMD_EPS * state.max_cost; 294 if( min_delta >= -eps ) 917 float eps = CV_EMD_EPS * state->max_cost; local 1026 if( fabs( diff ) < eps ) 1056 if( fabs( diff ) < eps ) [all...] |
cvlkpyramid.cpp | 704 float eps = (float)MIN(winSize.width, winSize.height); local 833 if( u.x < -eps || u.x >= levelSize.width+eps || 834 u.y < -eps || u.y >= levelSize.height+eps || 942 if( Av[2] < -eps || Av[2] >= levelSize.width+eps || 943 Av[5] < -eps || Av[5] >= levelSize.height+eps || [all...] |
/external/eigen/test/ |
geo_quaternion.cpp | 60 Scalar eps = internal::random<Scalar>() * Scalar(1e-2); 129 v3 = (v1.array()+eps).matrix(); 140 v3 = (v1.array()+eps).matrix();
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_conv.c | 168 double eps; local 213 eps = MAX2(lp_const_eps(src_type), lp_const_eps(dst_type)); 253 if(!compare_vec_with_eps(dst_type, dst + j*dst_stride, ref + j*dst_stride, eps))
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
check_ops_test.py | 304 eps = np.finfo(np.float32).eps 305 # Default rtol/atol is 10*eps 307 y = constant_op.constant(1. + 2 * eps, name="y", dtype=np.float32) 315 eps = np.finfo(np.float32).eps 316 # Default rtol/atol is 10*eps 318 y = constant_op.constant(0. + 2 * eps, name="y", dtype=np.float32) 326 eps = np.finfo(np.float64).eps [all...] |
softplus_op_test.py | 55 log_eps = np.log(np.finfo(t).eps)
|
/external/deqp/modules/egl/ |
teglColorClearCase.cpp | 247 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); local 248 bool imagesOk = tcu::pixelThresholdCompare(log, "ComparisonResult", "Image comparison result", refFrame, frame, eps + pixelFmt.getColorThreshold(), tcu::COMPARE_LOG_RESULT); 435 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); local 436 bool imagesOk = tcu::pixelThresholdCompare(log, "ComparisonResult", "Image comparison result", refFrame, frame, eps + pixelFmt.getColorThreshold(), tcu::COMPARE_LOG_RESULT);
|
/external/eigen/bench/ |
bench_norm.cpp | 112 Scalar abig, eps; 138 eps = std::pow(ibeta, 1-it); 139 relerr = std::sqrt(eps); // tolerance for neglecting asml 140 abig = 1.0/eps - 1.0;
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/ops/ |
layers_util.py | 108 scale = (np.finfo(dtype.as_numpy_dtype).eps +
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/ |
sinh_arcsinh.py | 38 math_ops.abs(x) * np.sqrt(np.finfo(x.dtype.as_numpy_dtype).eps) <= 1.,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
dtoa.c | 2389 U d2, eps, u; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
dtoa.c | 2358 U d2, eps, u; local [all...] |
/external/python/cpython2/Python/ |
dtoa.c | 2389 U d2, eps, u; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES11Canvas.java | 577 final float eps = 1e-5f; local 578 return Math.abs(matrix[MSKEW_X]) > eps 579 || Math.abs(matrix[MSKEW_Y]) > eps 580 || matrix[MSCALE_X] < -eps 581 || matrix[MSCALE_Y] > eps; [all...] |