/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/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
D | NavCalculator.java | 100 distance = (float) Math.abs(dLat / Math.cos(Math.toRadians(trueCourse))); in mercatorSailing() 121 double sgnDLong = 0 - (dLong / Math.abs(dLong)); in planeSailing() 122 if (Math.abs(dLong) > 180 * 60) { in planeSailing() 123 dLong = (360 * 60 - Math.abs(dLong)) * sgnDLong; in planeSailing() 129 redist = Math.abs(dLong); in planeSailing() 131 redist = Math.abs(dLong * (float) Math.cos(p1.getLatitude() * 2 * Math.PI / 360)); in planeSailing() 156 return Math.abs(tc); in convertCourse() 161 return 180 - Math.abs(tc); in convertCourse() 166 return 180 + Math.abs(tc); in convertCourse() 171 return 360 - Math.abs(tc); in convertCourse() [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/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Eigen3f.java | 148 float max = FastMath.abs(mat.m00); in scaleMatrix() 149 float abs = FastMath.abs(mat.m01); in scaleMatrix() local 151 if (abs > max) { in scaleMatrix() 152 max = abs; in scaleMatrix() 154 abs = FastMath.abs(mat.m02); in scaleMatrix() 155 if (abs > max) { in scaleMatrix() 156 max = abs; in scaleMatrix() 158 abs = FastMath.abs(mat.m11); in scaleMatrix() 159 if (abs > max) { in scaleMatrix() 160 max = abs; in scaleMatrix() [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/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/iphone/ |
D | iPhoneMultiTouch.mm | 75 iState->X.abs += mTempState.X.rel; 76 iState->Y.abs += mTempState.Y.rel; 78 if(iState->X.abs > iState->width) 79 iState->X.abs = iState->width; 80 else if(iState->X.abs < 0) 81 iState->X.abs = 0; 83 if(iState->Y.abs > iState->height) 84 iState->Y.abs = iState->height; 85 else if(iState->Y.abs < 0) 86 iState->Y.abs = 0; [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/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/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/ |
D | Win32Mouse.cpp | 167 mState.X.abs = point.x; in capture() 168 mState.Y.abs = point.y; in capture() 172 mState.X.abs += mState.X.rel; in capture() 173 mState.Y.abs += mState.Y.rel; in capture() 175 mState.Z.abs += mState.Z.rel; in capture() 178 if( mState.X.abs < 0 ) in capture() 179 mState.X.abs = 0; in capture() 180 else if( mState.X.abs > mState.width ) in capture() 181 mState.X.abs = mState.width; in capture() 182 if( mState.Y.abs < 0 ) in capture() [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/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/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/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/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/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/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/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 …]
|
/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 …]
|