Searched refs:relativeError (Results 1 – 3 of 3) sorted by relevance
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | ContinuedFraction.java | 135 double relativeError = Double.MAX_VALUE; in evaluate() local 136 while (n < maxIterations && relativeError > epsilon) { in evaluate() 190 relativeError = FastMath.abs(r / c - 1.0); in evaluate()
|
/external/skia/tests/ |
D | MathTest.cpp | 392 float relativeError = sk_float_abs(exact - estimate)/exact; in test_rsqrt() local 393 REPORTER_ASSERT(reporter, relativeError <= maxRelativeError); in test_rsqrt() 402 float relativeError = sk_float_abs(exact - estimate)/exact; in test_rsqrt() local 403 REPORTER_ASSERT(reporter, relativeError <= maxRelativeError); in test_rsqrt() 412 float relativeError = sk_float_abs(exact - estimate)/exact; in test_rsqrt() local 413 REPORTER_ASSERT(reporter, relativeError <= maxRelativeError); in test_rsqrt()
|
/external/opencv3/modules/core/test/ocl/ |
D | test_arithm.cpp | 1215 static bool relativeError(double actual, double expected, double eps) in relativeError() function 1257 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() 1270 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() 1283 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() 1296 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() 1316 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() 1336 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() 1356 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() 1376 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() 1396 EXPECT_PRED3(relativeError, cpuRes, gpuRes, 1e-6); in OCL_TEST_P() [all …]
|