/external/v8/test/webkit/ |
D | dfg-abs-backwards-propagation-expected.txt | 24 Tests that the DFG knows that a function that appears like Math.abs could potentially use value in … 29 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 30 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 31 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 32 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 33 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 34 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 35 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 36 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 37 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) [all …]
|
/external/v8/test/mjsunit/ |
D | math-abs.js | 36 assertEquals(0, Math.abs(0)); 37 assertEquals(0, Math.abs(zero())); 38 assertEquals(0, Math.abs(-0)); 39 assertEquals(Infinity, Math.abs(Infinity)); 40 assertEquals(Infinity, Math.abs(-Infinity)); 41 assertEquals(NaN, Math.abs(NaN)); 42 assertEquals(NaN, Math.abs(-NaN)); 43 assertEquals('Infinity', Math.abs(Number('+Infinity')).toString()); 44 assertEquals('Infinity', Math.abs(Number('-Infinity')).toString()); 45 assertEquals('NaN', Math.abs(NaN).toString()); [all …]
|
/external/valgrind/none/tests/mips32/ |
D | FPUarithmetic.stdout.exp-mips32 | 3 abs.s 0.000000 0.000000 4 abs.s 456.250000 456.250000 5 abs.s 3.000000 3.000000 6 abs.s 1.000000 -1.000000 7 abs.s 1384.500000 1384.500000 8 abs.s 7.250000 -7.250000 9 abs.s 1000000000.000000 1000000000.000000 10 abs.s 5786.500000 -5786.500000 11 abs.s 1752.000000 1752.000000 12 abs.s 0.015625 0.015625 [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-absolute-value.cpp | 5 int abs(int); 21 int abs(int); 22 long int abs(long int); 23 long long int abs(long long int); 26 float abs(float); 27 double abs(double); 28 long double abs(long double); 31 double abs(T); 36 (void)std::abs(x); in test_int() 38 (void)abs(x); in test_int() [all …]
|
D | warn-absolute-value-header.cpp | 5 int abs(int); 10 int abs(int); 11 float abs(float); 16 (void)abs(d); in test() 29 (void)abs(ll); in test() 41 (void)abs(i); in test() 49 (void)abs(f); in test()
|
/external/mesa3d/src/glsl/builtins/ir/ |
D | asin.ir | 13 (expression float abs (var_ref x)))) 17 (expression float abs (var_ref x)) 21 (expression float abs (var_ref x)) 25 (expression float abs (var_ref x)) 40 (expression vec2 abs (var_ref x)))) 44 (expression vec2 abs (var_ref x)) 48 (expression vec2 abs (var_ref x)) 52 (expression vec2 abs (var_ref x)) 67 (expression vec3 abs (var_ref x)))) 71 (expression vec3 abs (var_ref x)) [all …]
|
D | abs.ir | 1 ((function abs 5 ((return (expression float abs (var_ref arg0))))) 10 ((return (expression vec2 abs (var_ref arg0))))) 15 ((return (expression vec3 abs (var_ref arg0))))) 20 ((return (expression vec4 abs (var_ref arg0))))) 25 ((return (expression int abs (var_ref arg0))))) 30 ((return (expression ivec2 abs (var_ref arg0))))) 35 ((return (expression ivec3 abs (var_ref arg0))))) 40 ((return (expression ivec4 abs (var_ref arg0)))))
|
D | fwidth.ir | 6 (expression float abs (expression float dFdx (var_ref p))) 7 (expression float abs (expression float dFdy (var_ref p))))))) 13 (expression vec2 abs (expression vec2 dFdx (var_ref p))) 14 (expression vec2 abs (expression vec2 dFdy (var_ref p))))))) 20 (expression vec3 abs (expression vec3 dFdx (var_ref p))) 21 (expression vec3 abs (expression vec3 dFdy (var_ref p))))))) 27 (expression vec4 abs (expression vec4 dFdx (var_ref p))) 28 (expression vec4 abs (expression vec4 dFdy (var_ref p)))))))
|
/external/opencv3/3rdparty/openexr/Imath/ |
D | ImathFrustum.h | 345 if (abs(topMinusBottom) < 1 && in aspect() 346 abs(rightMinusLeft) > limits<T>::max() * abs(topMinusBottom)) in aspect() 367 if ((abs(rightMinusLeft) < 1 && in projectionMatrix() 368 abs(rightPlusLeft) > limits<T>::max() * abs(rightMinusLeft)) || in projectionMatrix() 369 (abs(topMinusBottom) < 1 && in projectionMatrix() 370 abs(topPlusBottom) > limits<T>::max() * abs(topMinusBottom)) || in projectionMatrix() 371 (abs(farMinusNear) < 1 && in projectionMatrix() 372 abs(farPlusNear) > limits<T>::max() * abs(farMinusNear))) in projectionMatrix() 384 if ((abs(rightMinusLeft) < 1 && in projectionMatrix() 385 2 > limits<T>::max() * abs(rightMinusLeft)) || in projectionMatrix() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/ |
D | eval.pass.cpp | 70 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 71 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 72 assert(std::abs(skew - x_skew) < 0.01); in main() 73 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 111 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 112 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 113 assert(std::abs(skew - x_skew) < 0.01); in main() 114 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 152 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 153 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | llvm.AMDGPU.abs.ll | 5 declare i32 @llvm.AMDGPU.abs(i32) nounwind readnone 8 declare i32 @llvm.AMDIL.abs.i32(i32) nounwind readnone 16 %abs = call i32 @llvm.AMDGPU.abs(i32 %src) nounwind readnone 17 store i32 %abs, i32 addrspace(1)* %out, align 4 30 %abs = call i32 @llvm.AMDGPU.abs(i32 %val) nounwind readnone 31 store i32 %abs, i32 addrspace(1)* %out, align 4 44 %abs = call i32 @llvm.AMDIL.abs.i32(i32 %val) nounwind readnone 45 store i32 %abs, i32 addrspace(1)* %out, align 4
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
D | eval.pass.cpp | 69 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 70 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 71 assert(std::abs(skew - x_skew) < 0.01); in main() 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 110 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 111 assert(std::abs(skew - x_skew) < 0.01); in main() 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 149 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 150 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
D | eval.pass.cpp | 66 assert(std::abs((double)Ni/N - prob[i]) / prob[i] < .01); in main() 88 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 89 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 90 assert(std::abs(skew - x_skew) < 0.01); in main() 91 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 126 assert(std::abs((double)Ni/N - prob[i]) / prob[i] < .01); in main() 148 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 149 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 150 assert(std::abs(skew - x_skew) < 0.01); in main() 151 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | neon_vabs.ll | 8 %abs = select <4 x i1> %b, <4 x i32> %a, <4 x i32> %tmp1neg 9 ret <4 x i32> %abs 17 %abs = select <4 x i1> %b, <4 x i32> %a, <4 x i32> %tmp1neg 18 ret <4 x i32> %abs 26 %abs = select <8 x i1> %b, <8 x i16> %a, <8 x i16> %tmp1neg 27 ret <8 x i16> %abs 35 %abs = select <16 x i1> %b, <16 x i8> %tmp1neg, <16 x i8> %a 36 ret <16 x i8> %abs 44 %abs = select <4 x i1> %b, <4 x i32> %tmp1neg, <4 x i32> %a 45 ret <4 x i32> %abs [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | int-neg-02.ll | 12 %abs = select i1 %cmp, i32 %neg, i32 %val 13 %res = sub i32 0, %abs 24 %abs = select i1 %cmp, i32 %neg, i32 %val 25 %res = sub i32 0, %abs 36 %abs = select i1 %cmp, i32 %val, i32 %neg 37 %res = sub i32 0, %abs 48 %abs = select i1 %cmp, i32 %val, i32 %neg 49 %res = sub i32 0, %abs 61 %abs = select i1 %cmp, i64 %neg, i64 %ext 62 %res = sub i64 0, %abs [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
D | BrentSolver.java | 142 if (FastMath.abs(yInitial) <= functionValueAccuracy) { in solve() 149 if (FastMath.abs(yMin) <= functionValueAccuracy) { in solve() 161 if (FastMath.abs(yMax) <= functionValueAccuracy) { in solve() 237 if (FastMath.abs(yMin) <= functionValueAccuracy) { in solve() 240 } else if (FastMath.abs(yMax) <= functionValueAccuracy) { in solve() 314 if (FastMath.abs(y2) < FastMath.abs(y1)) { in solve() 323 if (FastMath.abs(y1) <= functionValueAccuracy) { in solve() 332 FastMath.max(relativeAccuracy * FastMath.abs(x1), absoluteAccuracy); in solve() 333 if (FastMath.abs(dx) <= tolerance) { in solve() 337 if ((FastMath.abs(oldDelta) < tolerance) || in solve() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
D | eval.pass.cpp | 69 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 70 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 110 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.03); in main() 149 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 150 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | vector_query.inl | 57 (abs(v.x) < epsilon), 58 (abs(v.y) < epsilon)); 68 (abs(v.x) < epsilon), 69 (abs(v.y) < epsilon), 70 (abs(v.z) < epsilon)); 80 (abs(v.x) < epsilon), 81 (abs(v.y) < epsilon), 82 (abs(v.z) < epsilon), 83 (abs(v.w) < epsilon)); 112 return abs(dot(v0, v1)) <= max( [all …]
|
/external/eigen/test/ |
D | array.cpp | 66 VERIFY_IS_APPROX(m1.abs().colwise().sum().sum(), m1.abs().sum()); in array() 67 VERIFY_IS_APPROX(m1.abs().rowwise().sum().sum(), m1.abs().sum()); in array() 68 using std::abs; in array() 69 VERIFY_IS_MUCH_SMALLER_THAN(abs(m1.colwise().sum().sum() - m1.sum()), m1.abs().sum()); in array() 70 VERIFY_IS_MUCH_SMALLER_THAN(abs(m1.rowwise().sum().sum() - m1.sum()), m1.abs().sum()); in array() 71 …if (!internal::isMuchSmallerThan(abs(m1.sum() - (m1+m2).sum()), m1.abs().sum(), test_precision<Sca… in array() 88 using std::abs; in comparisons() 127 m3(i,j) = abs(m1(i,j))<mid ? 0 : m1(i,j); in comparisons() 128 VERIFY_IS_APPROX( (m1.abs()<ArrayType::Constant(rows,cols,mid)) in comparisons() 131 VERIFY_IS_APPROX( (m1.abs()<ArrayType::Constant(rows,cols,mid)) in comparisons() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | viabs.ll | 27 %abs = select <4 x i1> %b, <4 x i32> %a, <4 x i32> %tmp1neg 28 ret <4 x i32> %abs 52 %abs = select <4 x i1> %b, <4 x i32> %a, <4 x i32> %tmp1neg 53 ret <4 x i32> %abs 77 %abs = select <8 x i1> %b, <8 x i16> %a, <8 x i16> %tmp1neg 78 ret <8 x i16> %abs 102 %abs = select <16 x i1> %b, <16 x i8> %tmp1neg, <16 x i8> %a 103 ret <16 x i8> %abs 127 %abs = select <4 x i1> %b, <4 x i32> %tmp1neg, <4 x i32> %a 128 ret <4 x i32> %abs [all …]
|
/external/toybox/toys/lsb/ |
D | umount.c | 138 char *abs = xabspath(*optargs, 0); in umount_main() local 140 for (ml = abs ? mlrev : 0; ml; ml = ml->prev) { in umount_main() 141 if (!strcmp(ml->dir, abs)) break; in umount_main() 142 if (!strcmp(ml->device, abs)) { in umount_main() 143 free(abs); in umount_main() 144 abs = ml->dir; in umount_main() 149 do_umount(abs ? abs : *optargs, ml ? ml->device : 0, flags); in umount_main() 150 if (ml && abs != ml->dir) free(abs); in umount_main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
D | eval.pass.cpp | 68 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 69 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 70 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 71 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 107 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 108 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 109 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 110 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 146 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 147 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
D | eval_param.pass.cpp | 69 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 70 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 71 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 72 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 109 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 110 assert(std::abs((var - x_var) / x_var) < 0.01); in main() 111 assert(std::abs((skew - x_skew) / x_skew) < 0.01); in main() 112 assert(std::abs((kurtosis - x_kurtosis) / x_kurtosis) < 0.01); in main() 149 assert(std::abs((mean - x_mean) / x_mean) < 0.01); in main() 150 assert(std::abs((var - x_var) / x_var) < 0.01); in main() [all …]
|
/external/clang/test/Sema/ |
D | warn-absolute-value-header.c | 4 int abs(int); 12 (void)abs(i); in test_int() 15 (void)abs(u); in test_int() 23 (void)abs(ll); in test_int() 27 (void)abs(f); in test_int() 31 (void)abs(d); in test_int()
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
D | Scaling.h | 45 using std::abs; 95 if ( Dr(it.row()) < abs(it.value()) ) in compute() 96 Dr(it.row()) = abs(it.value()); in compute() 98 if ( Dc(it.col()) < abs(it.value()) ) in compute() 99 Dc(it.col()) = abs(it.value()); in compute() 121 if ( DrRes(it.row()) < abs(it.value()) ) in compute() 122 DrRes(it.row()) = abs(it.value()); in compute() 124 if ( DcRes(it.col()) < abs(it.value()) ) in compute() 125 DcRes(it.col()) = abs(it.value()); in compute() 128 DrRes.array() = (1-DrRes.array()).abs(); in compute() [all …]
|