/external/chromium_org/v8/test/webkit/ |
D | dfg-sqrt-backwards-propagation-expected.txt | 24 Tests that the DFG knows that a function that appears like Math.sqrt could potentially use value in… 29 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) 30 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) 31 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) 32 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) 33 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) 34 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) 35 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) 36 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) 37 PASS foo(Math.sqrt, [1.5], 0) is Math.sqrt(1.5) [all …]
|
D | dfg-proven-sqrt-backwards-propagation-expected.txt | 24 Tests that the DFG knows that a Math.sqrt could potentially use value in arbitrary ways, and not ju… 29 PASS foo(array, 0) is Math.sqrt(1.5) 30 PASS foo(array, 0) is Math.sqrt(1.5) 31 PASS foo(array, 0) is Math.sqrt(1.5) 32 PASS foo(array, 0) is Math.sqrt(1.5) 33 PASS foo(array, 0) is Math.sqrt(1.5) 34 PASS foo(array, 0) is Math.sqrt(1.5) 35 PASS foo(array, 0) is Math.sqrt(1.5) 36 PASS foo(array, 0) is Math.sqrt(1.5) 37 PASS foo(array, 0) is Math.sqrt(1.5) [all …]
|
/external/valgrind/main/none/tests/mips32/ |
D | FPUarithmetic.stdout.exp-mips32 | 1003 sqrt.s 0.000000 0.000000 1004 sqrt.s 21.360010 456.250000 1005 sqrt.s 1.732051 3.000000 1006 sqrt.s nan -1.000000 1007 sqrt.s 37.208870 1384.500000 1008 sqrt.s nan -7.250000 1009 sqrt.s 31622.777344 1000000000.000000 1010 sqrt.s nan -5786.500000 1011 sqrt.s 41.856899 1752.000000 1012 sqrt.s 0.125000 0.015625 [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | vec_sqrt.ll | 3 ; Check for vector sqrt expansion using floating-point types, since altivec 9 declare <2 x float> @llvm.sqrt.v2f32(<2 x float> %val) 10 declare <4 x float> @llvm.sqrt.v4f32(<4 x float> %val) 11 declare <8 x float> @llvm.sqrt.v8f32(<8 x float> %val) 12 declare <2 x double> @llvm.sqrt.v2f64(<2 x double> %val) 13 declare <4 x double> @llvm.sqrt.v4f64(<4 x double> %val) 17 %sqrt = call <2 x float> @llvm.sqrt.v2f32 (<2 x float> %x) 18 ret <2 x float> %sqrt 20 ; sqrt (<2 x float>) is promoted to sqrt (<4 x float>) 29 %sqrt = call <4 x float> @llvm.sqrt.v4f32 (<4 x float> %x) [all …]
|
D | recipest.ll | 6 declare double @llvm.sqrt.f64(double) 7 declare float @llvm.sqrt.f32(float) 8 declare <4 x float> @llvm.sqrt.v4f32(<4 x float>) 12 %x = call double @llvm.sqrt.f64(double %b) 36 %x = call float @llvm.sqrt.f32(float %b) 58 %x = call double @llvm.sqrt.f64(double %b) 84 %x = call float @llvm.sqrt.f32(float %b) 105 %x = call <4 x float> @llvm.sqrt.v4f32(<4 x float> %b) 168 %r = call double @llvm.sqrt.f64(double %a) 195 %r = call float @llvm.sqrt.f32(float %a) [all …]
|
/external/stlport/test/unit/ |
D | resolve_name.cpp | 12 d = sqrt( d ); in f() 13 d = ::sqrt( d ); in f() 14 d = std::sqrt( d ); in f() 26 d = sqrt( d ); in g() 27 d = ::sqrt( d ); in g() 28 d = std::sqrt( d ); in g() 44 d = sqrt( d ); in h() 45 d = ::sqrt( d ); in h() 46 d = std::sqrt( d ); in h() 55 using std::sqrt; in sqroot() [all …]
|
D | cmath_test.cpp | 80 CPPUNIT_CHECK( are_equals(std::sqrt(4.0), 2.0) ); in import_checks() 114 CPPUNIT_CHECK( are_equals(std::sqrt(4.0f), 2.0f) ); in import_checks() 140 CPPUNIT_CHECK( are_equals(std::sqrt(4.0l), 2.0l) ); in import_checks() 164 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0))), 2.0) ); in import_checks() 165 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0f))), 2.0f) ); in import_checks() 167 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0l))), 2.0l) ); in import_checks()
|
/external/llvm/test/CodeGen/SystemZ/ |
D | fp-sqrt-02.ll | 5 declare double @llvm.sqrt.f64(double %f) 6 declare double @sqrt(double) 13 %res = call double @llvm.sqrt.f64(double %val) 23 %res = call double @llvm.sqrt.f64(double %val) 34 %res = call double @llvm.sqrt.f64(double %val) 47 %res = call double @llvm.sqrt.f64(double %val) 59 %res = call double @llvm.sqrt.f64(double %val) 72 %res = call double @llvm.sqrt.f64(double %val) 100 %sqrt0 = call double @llvm.sqrt.f64(double %val0) 101 %sqrt1 = call double @llvm.sqrt.f64(double %val1) [all …]
|
D | fp-sqrt-01.ll | 5 declare float @llvm.sqrt.f32(float) 13 %res = call float @llvm.sqrt.f32(float %val) 23 %res = call float @llvm.sqrt.f32(float %val) 34 %res = call float @llvm.sqrt.f32(float %val) 47 %res = call float @llvm.sqrt.f32(float %val) 59 %res = call float @llvm.sqrt.f32(float %val) 72 %res = call float @llvm.sqrt.f32(float %val) 100 %sqrt0 = call float @llvm.sqrt.f32(float %val0) 101 %sqrt1 = call float @llvm.sqrt.f32(float %val1) 102 %sqrt2 = call float @llvm.sqrt.f32(float %val2) [all …]
|
D | fp-sqrt-03.ll | 5 declare fp128 @llvm.sqrt.f128(fp128 %f) 17 %sqrt = call fp128 @llvm.sqrt.f128(fp128 %orig) 18 store fp128 %sqrt, fp128 *%ptr
|
/external/eigen/test/ |
D | stable_norm.cpp | 35 using std::sqrt; in stable_norm() 86 VERIFY(!isFinite(sqrt(-abs(big)))); in stable_norm() 89 VERIFY(isFinite(sqrt(size)*abs(big))); in stable_norm() 90 …VERIFY_IS_NOT_APPROX(sqrt(copy(vbig.squaredNorm())), abs(sqrt(size)*big)); // here the default nor… in stable_norm() 91 VERIFY_IS_APPROX(vbig.stableNorm(), sqrt(size)*abs(big)); in stable_norm() 92 VERIFY_IS_APPROX(vbig.blueNorm(), sqrt(size)*abs(big)); in stable_norm() 93 VERIFY_IS_APPROX(vbig.hypotNorm(), sqrt(size)*abs(big)); in stable_norm() 96 VERIFY(isFinite(sqrt(size)*abs(small))); in stable_norm() 97 …VERIFY_IS_NOT_APPROX(sqrt(copy(vsmall.squaredNorm())), abs(sqrt(size)*small)); // here the defau… in stable_norm() 98 VERIFY_IS_APPROX(vsmall.stableNorm(), sqrt(size)*abs(small)); in stable_norm() [all …]
|
/external/llvm/test/CodeGen/R600/ |
D | rsq.ll | 3 declare float @llvm.sqrt.f32(float) nounwind readnone 4 declare double @llvm.sqrt.f64(double) nounwind readnone 11 %sqrt = call float @llvm.sqrt.f32(float %val) nounwind readnone 12 %div = fdiv float 1.0, %sqrt 22 %sqrt = call double @llvm.sqrt.f64(double %val) nounwind readnone 23 %div = fdiv double 1.0, %sqrt
|
D | llvm.AMDGPU.rcp.ll | 7 declare float @llvm.sqrt.f32(float) nounwind readnone 8 declare double @llvm.sqrt.f64(double) nounwind readnone 45 %sqrt = call float @llvm.sqrt.f32(float %src) nounwind readnone 46 %rcp = call float @llvm.AMDGPU.rcp.f32(float %sqrt) nounwind readnone 54 %sqrt = call double @llvm.sqrt.f64(double %src) nounwind readnone 55 %rcp = call double @llvm.AMDGPU.rcp.f64(double %sqrt) nounwind readnone
|
/external/ceres-solver/internal/ceres/ |
D | corrector_test.cc | 59 double residuals = sqrt(3.0); in TEST() 72 residuals * sqrt(kRho[1]) / (1 - kAlpha); in TEST() 76 const double kExpectedJacobian = sqrt(kRho[1]) * (1 - kAlpha) * jacobian; in TEST() 100 const double kExpectedResidual = residuals * sqrt(kRho[1]); in TEST() 104 const double kExpectedJacobian = sqrt(kRho[1]) * jacobian; in TEST() 115 double residuals = sqrt(3.0); in TEST() 127 residuals * sqrt(kRho[1]) / (1.0 - kAlpha); in TEST() 131 const double kExpectedJacobian = sqrt(kRho[1]) * in TEST() 187 const double kAlpha = (rho[2] > 0.0) ? 1 - sqrt(kD) : 0.0; in TEST() 190 g_res = sqrt(rho[1]) / (1.0 - kAlpha) * res; in TEST() [all …]
|
D | trust_region_minimizer_test.cc | 103 const double f2 = sqrt(5.0) * (x3 - x4); in Evaluate() 105 const double f4 = sqrt(10.0) * pow(x1 - x4, 2.0); in Evaluate() 138 sqrt(10.0) * 2.0 * (x1 - x4) * (1.0 - x4); in Evaluate() 151 sqrt(5.0), in Evaluate() 159 -sqrt(5.0), in Evaluate() 161 sqrt(10.0) * 2.0 * (x1 - x4) * (x1 - 1.0); in Evaluate() 169 gradient[column_index++] = f1 + f4 * sqrt(10.0) * 2.0 * (x1 - x4); in Evaluate() 178 f2 * sqrt(5.0) + f3 * (2.0 * 2.0 * (2.0 * x3 - x2)); in Evaluate() 183 -f2 * sqrt(5.0) + f4 * sqrt(10.0) * 2.0 * (x4 - x1); in Evaluate() 329 residuals[0] -= sqrt(length); in Evaluate() [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | sqrt.ll | 7 ; CHECK-NOT: sqrt( 11 %call = tail call double @sqrt(double %conv) readnone nounwind ; <double> [#uses=1] 22 ; CHECK-NOT: sqrt( 26 %call = tail call double @sqrt(double %conv) nounwind ; <double> [#uses=1] 33 ; Can't fold (fptrunc (sqrt (fpext x))) -> (sqrtf x) since there is another 34 ; use of sqrt result. 38 ; CHECK: sqrt( 46 %call34 = call double @sqrt(double %conv) readnone 54 declare double @sqrt(double) readnone
|
D | fold-sqrt-sqrtf.ll | 4 ; Instcombine tries to fold (fptrunc (sqrt (fpext x))) -> (sqrtf x), but this 9 ; CHECK: %call = tail call double @sqrt(double %conv) 12 %call = tail call double @sqrt(double %conv) 17 declare double @sqrt(double)
|
/external/eigen/unsupported/doc/examples/ |
D | MatrixLogarithm.cpp | 8 using std::sqrt; in main() 10 A << 0.5*sqrt(2), -0.5*sqrt(2), 0, in main() 11 0.5*sqrt(2), 0.5*sqrt(2), 0, in main()
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
D | sqrt.ir | 1 ((function sqrt 5 ((return (expression float sqrt (var_ref arg0))))) 10 ((return (expression vec2 sqrt (var_ref arg0))))) 15 ((return (expression vec3 sqrt (var_ref arg0))))) 20 ((return (expression vec4 sqrt (var_ref arg0)))))
|
/external/mesa3d/src/glsl/builtins/ir/ |
D | sqrt.ir | 1 ((function sqrt 5 ((return (expression float sqrt (var_ref arg0))))) 10 ((return (expression vec2 sqrt (var_ref arg0))))) 15 ((return (expression vec3 sqrt (var_ref arg0))))) 20 ((return (expression vec4 sqrt (var_ref arg0)))))
|
/external/eigen/Eigen/src/Core/ |
D | StableNorm.h | 54 using std::sqrt; in blueNorm_impl() 89 relerr = sqrt(eps); // tolerance for neglecting asml in blueNorm_impl() 106 abig = sqrt(abig); in blueNorm_impl() 114 amed = sqrt(amed); in blueNorm_impl() 123 abig = sqrt(amed); in blueNorm_impl() 124 amed = sqrt(asml) / s1m; in blueNorm_impl() 127 return sqrt(asml)/s1m; in blueNorm_impl() 130 return sqrt(amed); in blueNorm_impl() 136 return abig * sqrt(RealScalar(1) + numext::abs2(asml/abig)); in blueNorm_impl() 156 using std::sqrt; in stableNorm() [all …]
|
/external/llvm/test/CodeGen/Mips/ |
D | optimize-fp-math.ll | 6 ; 32: sqrt.s $f[[R0:[0-9]+]], $f{{[0-9]+}} 9 ; 64: sqrt.s $f[[R0:[0-9]+]], $f{{[0-9]+}} 21 ; 32: sqrt.d $f[[R0:[0-9]+]], $f{{[0-9]+}} 24 ; 64: sqrt.d $f[[R0:[0-9]+]], $f{{[0-9]+}} 29 %call = tail call double @sqrt(double %a) 33 declare double @sqrt(double)
|
/external/chromium_org/v8/test/mjsunit/ |
D | constant-folding-2.js | 148 assertEquals(1.0, Math.sqrt(1.0)); 149 assertEquals("NaN", String(Math.sqrt(-1.0))); 150 assertEquals("Infinity", String(Math.sqrt(Infinity))); 151 assertEquals("NaN", String(Math.sqrt(-Infinity))); 152 assertEquals("NaN", String(Math.sqrt(NaN))); 157 assertEquals("NaN", String(Math.sqrt(-1.0))); 159 assertEquals("NaN", String(Math.sqrt(-Infinity, 0.5))); 161 assertEquals("NaN", String(Math.sqrt(-Infinity, -0.5))); 162 assertEquals("NaN", String(Math.sqrt(NaN, 0.5)));
|
/external/llvm/test/CodeGen/NVPTX/ |
D | fast-math.ll | 4 declare float @llvm.nvvm.sqrt.f(float) 8 ; CHECK: sqrt.rn.f32 11 %t1 = tail call float @llvm.nvvm.sqrt.f(float %a) 17 ; CHECK: sqrt.approx.f32 20 %t1 = tail call float @llvm.nvvm.sqrt.f(float %a)
|
/external/llvm/test/CodeGen/X86/ |
D | break-sse-dep.ll | 30 %t = call float @llvm.sqrt.f32(float %z) 39 %t = call double @llvm.sqrt.f64(double %z) 48 %t = call float @llvm.sqrt.f32(float %z) 57 %t = call double @llvm.sqrt.f64(double %z) 61 declare float @llvm.sqrt.f32(float) 62 declare double @llvm.sqrt.f64(double)
|