OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:abs
(Results
76 - 100
of
2383
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/suite/cts/deviceTests/opengl/assets/fragment/
water
22
float weight =
abs
(mod(float(u_Time), 101.0) - 50.0) / 50.0;// loop between 0.0 and 1.0
23
float offset =
abs
(float(u_Time) / 1000.0);
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
WeightedPixelDifference.java
59
error += Math.
abs
(Color.red(color1) - Color.red(color2));
60
error += Math.
abs
(Color.green(color1) - Color.green(color2));
61
error += Math.
abs
(Color.blue(color1) - Color.blue(color2));
62
error += Math.
abs
(Color.alpha(color1) - Color.alpha(color2));
NearPixelComparer.java
61
int error = Math.
abs
(Color.red(ideal) - Color.red(given));
62
error += Math.
abs
(Color.green(ideal) - Color.green(given));
63
error += Math.
abs
(Color.blue(ideal) - Color.blue(given));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
AbstractECMultiplier.java
15
ECPoint positive = multiplyPositive(p, k.
abs
());
/external/ceres-solver/internal/ceres/
test_util.cc
62
VLOG(1) << StringPrintf("x=%17g y=%17g
abs
=%17g rel=%17g",
84
if (std::
abs
(p[i]) > p_max) {
85
p_max = std::
abs
(p[i]);
88
if (std::
abs
(q[i]) > q_max) {
89
q_max = std::
abs
(q[i]);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
transform_unittest.cc
147
EXPECT_LE(
abs
(time2spec_out_expected_1[i] - data_out_1[i]), 1);
148
EXPECT_LE(
abs
(time2spec_out_expected_2[i] - data_out_2[i]), 1);
169
EXPECT_LE(
abs
(spec2time_out_expected_1[i] - data_out_1[i]), 16);
170
EXPECT_LE(
abs
(spec2time_out_expected_2[i] - data_out_2[i]), 16);
/external/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
abs_valarray.pass.cpp
16
//
abs
(const valarray<T>& x);
29
std::valarray<T> v3 =
abs
(v1);
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
eval_param.pass.cpp
68
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
69
assert(std::
abs
((var - x_var) / x_var) < 0.01);
70
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
71
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
eval_param.pass.cpp
70
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
71
assert(std::
abs
((var - x_var) / x_var) < 0.01);
72
assert(std::
abs
(skew - x_skew) < 0.01);
73
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
eval_param.pass.cpp
69
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
70
assert(std::
abs
((var - x_var) / x_var) < 0.01);
71
assert(std::
abs
(skew - x_skew) < 0.01);
72
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
abs_valarray.pass.cpp
16
//
abs
(const valarray<T>& x);
29
std::valarray<T> v3 =
abs
(v1);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
eval_param.pass.cpp
68
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
69
assert(std::
abs
((var - x_var) / x_var) < 0.01);
70
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
71
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
eval_param.pass.cpp
70
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
71
assert(std::
abs
((var - x_var) / x_var) < 0.01);
72
assert(std::
abs
(skew - x_skew) < 0.01);
73
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
eval_param.pass.cpp
69
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
70
assert(std::
abs
((var - x_var) / x_var) < 0.01);
71
assert(std::
abs
(skew - x_skew) < 0.01);
72
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
double_const.py
23
diff =
abs
(x - x2)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
double_const.py
23
diff =
abs
(x - x2)
/external/chromium_org/ui/app_list/
pagination_controller.cc
35
abs
(offset.x()) >
abs
(offset.y()) ? offset.x() : offset.y();
41
if (
abs
(offset_magnitude) > kMinScrollToSwitchPage) {
/external/clang/test/Sema/
warn-absolute-value.c
4
int
abs
(int);
17
(void)
abs
(x);
23
// expected-note@-2 {{use function '
abs
' instead}}
24
// CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:14}:"
abs
"
27
// expected-note@-2 {{use function '
abs
' instead}}
28
// CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:13}:"
abs
"
31
// expected-note@-2 {{use function '
abs
' instead}}
32
// CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:14}:"
abs
"
36
// expected-note@-2 {{use function '
abs
' instead}}
37
// CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:14}:"
abs
"
[
all
...]
/external/eigen/test/
stable_norm.cpp
36
using std::
abs
;
86
VERIFY(!isFinite(sqrt(-
abs
(big))));
89
VERIFY(isFinite(sqrt(size)*
abs
(big)));
90
VERIFY_IS_NOT_APPROX(sqrt(copy(vbig.squaredNorm())),
abs
(sqrt(size)*big)); // here the default norm must fail
91
VERIFY_IS_APPROX(vbig.stableNorm(), sqrt(size)*
abs
(big));
92
VERIFY_IS_APPROX(vbig.blueNorm(), sqrt(size)*
abs
(big));
93
VERIFY_IS_APPROX(vbig.hypotNorm(), sqrt(size)*
abs
(big));
96
VERIFY(isFinite(sqrt(size)*
abs
(small)));
97
VERIFY_IS_NOT_APPROX(sqrt(copy(vsmall.squaredNorm())),
abs
(sqrt(size)*small)); // here the default norm must fail
98
VERIFY_IS_APPROX(vsmall.stableNorm(), sqrt(size)*
abs
(small))
[
all
...]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
eval_param.pass.cpp
69
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
70
assert(std::
abs
((var - x_var) / x_var) < 0.01);
71
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
72
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.04);
111
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
112
assert(std::
abs
((var - x_var) / x_var) < 0.01);
113
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
114
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
153
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
154
assert(std::
abs
((var - x_var) / x_var) < 0.01)
[
all
...]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
eval_param.pass.cpp
69
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
70
assert(std::
abs
((var - x_var) / x_var) < 0.01);
71
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
72
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
111
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
112
assert(std::
abs
((var - x_var) / x_var) < 0.01);
113
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
114
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.03);
153
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
154
assert(std::
abs
((var - x_var) / x_var) < 0.01)
[
all
...]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
eval_param.pass.cpp
69
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
70
assert(std::
abs
((var - x_var) / x_var) < 0.01);
71
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
72
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
111
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
112
assert(std::
abs
((var - x_var) / x_var) < 0.01);
113
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
114
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
153
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
154
assert(std::
abs
((var - x_var) / x_var) < 0.01)
[
all
...]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
eval.pass.cpp
67
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
68
assert(std::
abs
((var - x_var) / x_var) < 0.01);
69
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
70
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
107
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
108
assert(std::
abs
((var - x_var) / x_var) < 0.01);
109
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
110
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
147
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
148
assert(std::
abs
((var - x_var) / x_var) < 0.01)
[
all
...]
eval_param.pass.cpp
68
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
69
assert(std::
abs
((var - x_var) / x_var) < 0.01);
70
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
71
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
109
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
110
assert(std::
abs
((var - x_var) / x_var) < 0.01);
111
assert(std::
abs
((skew - x_skew) / x_skew) < 0.01);
112
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.01);
150
assert(std::
abs
((mean - x_mean) / x_mean) < 0.01);
151
assert(std::
abs
((var - x_var) / x_var) < 0.01)
[
all
...]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
eval.pass.cpp
63
assert(std::
abs
(mean - x_mean) < 0.01);
64
assert(std::
abs
((var - x_var) / x_var) < 0.01);
65
assert(std::
abs
(skew - x_skew) < 0.01);
66
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.2);
99
assert(std::
abs
(mean - x_mean) < 0.01);
100
assert(std::
abs
((var - x_var) / x_var) < 0.01);
101
assert(std::
abs
(skew - x_skew) < 0.01);
102
assert(std::
abs
((kurtosis - x_kurtosis) / x_kurtosis) < 0.04);
135
assert(std::
abs
(mean - x_mean) < 0.01);
136
assert(std::
abs
((var - x_var) / x_var) < 0.01)
[
all
...]
Completed in 1257 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>