/external/valgrind/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/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
D | DormandPrince853Integrator.java | 64 …(12.0 - 2.0 * FastMath.sqrt(6.0)) / 135.0, (6.0 - FastMath.sqrt(6.0)) / 45.0, (6.0 - FastMath.sqrt… 65 (6.0 + FastMath.sqrt(6.0)) / 30.0, 1.0/3.0, 1.0/4.0, 4.0/13.0, 127.0/195.0, 3.0/5.0, 73 {(12.0 - 2.0 * FastMath.sqrt(6.0)) / 135.0}, 76 {(6.0 - FastMath.sqrt(6.0)) / 180.0, (6.0 - FastMath.sqrt(6.0)) / 60.0}, 79 {(6.0 - FastMath.sqrt(6.0)) / 120.0, 0.0, (6.0 - FastMath.sqrt(6.0)) / 40.0}, 82 {(462.0 + 107.0 * FastMath.sqrt(6.0)) / 3000.0, 0.0, 83 (-402.0 - 197.0 * FastMath.sqrt(6.0)) / 1000.0, (168.0 + 73.0 * FastMath.sqrt(6.0)) / 375.0}, 86 … {1.0 / 27.0, 0.0, 0.0, (16.0 + FastMath.sqrt(6.0)) / 108.0, (16.0 - FastMath.sqrt(6.0)) / 108.0}, 89 {19.0 / 512.0, 0.0, 0.0, (118.0 + 23.0 * FastMath.sqrt(6.0)) / 1024.0, 90 (118.0 - 23.0 * FastMath.sqrt(6.0)) / 1024.0, -9.0 / 512.0}, [all …]
|
D | GillIntegrator.java | 57 { (FastMath.sqrt(2.0) - 1.0) / 2.0, (2.0 - FastMath.sqrt(2.0)) / 2.0 }, 58 { 0.0, -FastMath.sqrt(2.0) / 2.0, (2.0 + FastMath.sqrt(2.0)) / 2.0 } 63 1.0 / 6.0, (2.0 - FastMath.sqrt(2.0)) / 6.0, (2.0 + FastMath.sqrt(2.0)) / 6.0, 1.0 / 6.0
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
D | LegendreGaussIntegrator.java | 58 -1.0 / FastMath.sqrt(3.0), 59 1.0 / FastMath.sqrt(3.0) 70 -FastMath.sqrt(0.6), 72 FastMath.sqrt(0.6) 84 -FastMath.sqrt((15.0 + 2.0 * FastMath.sqrt(30.0)) / 35.0), 85 -FastMath.sqrt((15.0 - 2.0 * FastMath.sqrt(30.0)) / 35.0), 86 FastMath.sqrt((15.0 - 2.0 * FastMath.sqrt(30.0)) / 35.0), 87 FastMath.sqrt((15.0 + 2.0 * FastMath.sqrt(30.0)) / 35.0) 92 (90.0 - 5.0 * FastMath.sqrt(30.0)) / 180.0, 93 (90.0 + 5.0 * FastMath.sqrt(30.0)) / 180.0, [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 …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | fp-sqrt-02.ll | 7 declare double @llvm.sqrt.f64(double %f) 8 declare double @sqrt(double) 15 %res = call double @llvm.sqrt.f64(double %val) 25 %res = call double @llvm.sqrt.f64(double %val) 36 %res = call double @llvm.sqrt.f64(double %val) 49 %res = call double @llvm.sqrt.f64(double %val) 61 %res = call double @llvm.sqrt.f64(double %val) 74 %res = call double @llvm.sqrt.f64(double %val) 102 %sqrt0 = call double @llvm.sqrt.f64(double %val0) 103 %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 …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | fsqrt.ll | 12 %r1 = call float @llvm.sqrt.f32(float %r0) 21 %r1 = call float @llvm.sqrt.f32(float %r0) 34 %fdiv = call float @llvm.sqrt.f32(float %in) 49 %fdiv = call <2 x float> @llvm.sqrt.v2f32(<2 x float> %in) 70 %fdiv = call <4 x float> @llvm.sqrt.v4f32(<4 x float> %in) 80 %sqrt = call float @llvm.sqrt.f32(float %in) 82 %res = select i1 %cmp, float 0x7FF8000000000000, float %sqrt 92 %sqrt = call float @llvm.sqrt.f32(float %in) 94 %res = select i1 %cmp, float 0x7FF8000000000000, float %sqrt 104 %sqrt = call float @llvm.sqrt.f32(float %in) [all …]
|
D | rsq.ll | 5 declare float @llvm.sqrt.f32(float) nounwind readnone 6 declare double @llvm.sqrt.f64(double) nounwind readnone 13 %sqrt = call float @llvm.sqrt.f32(float %val) nounwind readnone 14 %div = fdiv float 1.0, %sqrt 25 %sqrt = call double @llvm.sqrt.f64(double %val) nounwind readnone 26 %div = fdiv double 1.0, %sqrt 35 %sqrt = call float @llvm.sqrt.f32(float %val) nounwind readnone 36 %div = fdiv float 1.0, %sqrt 42 ; not 1 / ( 1 / sqrt(a)) * rcp(b) * c. 69 %x = call float @llvm.sqrt.f32(float %a)
|
D | llvm.amdgcn.rcp.ll | 6 declare double @llvm.sqrt.f64(double) #0 7 declare float @llvm.sqrt.f32(float) #0 49 %sqrt = call float @llvm.sqrt.f32(float %src) 50 %rcp = call float @llvm.amdgcn.rcp.f32(float %sqrt) 58 %sqrt = call float @llvm.sqrt.f32(float %src) 59 %rcp = call float @llvm.amdgcn.rcp.f32(float %sqrt) 107 %sqrt = call double @llvm.sqrt.f64(double %src) 108 %rcp = call double @llvm.amdgcn.rcp.f64(double %sqrt) 118 %sqrt = call double @llvm.sqrt.f64(double %src) 119 %rcp = call double @llvm.amdgcn.rcp.f64(double %sqrt)
|
/external/llvm/test/CodeGen/AArch64/ |
D | sqrt-fastmath.ll | 1 ; RUN: llc < %s -mtriple=aarch64 -mattr=neon -recip=!sqrt,!vec-sqrt | FileCheck %s --check-prefix=F… 2 ; RUN: llc < %s -mtriple=aarch64 -mattr=neon -recip=sqrt,vec-sqrt | FileCheck %s 6 declare float @llvm.sqrt.f32(float) #1 7 declare double @llvm.sqrt.f64(double) #1 8 declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) #1 9 declare <4 x float> @llvm.sqrt.v4f32(<4 x float>) #1 10 declare <2 x double> @llvm.sqrt.v2f64(<2 x double>) #1 13 %1 = tail call fast float @llvm.sqrt.f32(float %a) 27 %1 = tail call fast <2 x float> @llvm.sqrt.v2f32(<2 x float> %a) #2 42 %1 = tail call fast <4 x float> @llvm.sqrt.v4f32(<4 x float> %a) #2 [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | geometry_unittest.py | 13 from math import sqrt 40 ([(0, 0), (0, 0), (4, 4)], [(2, 2), 2 * sqrt(2)]), 49 ([(0, 0), (10, 0), (5, 5 * sqrt(3))], 50 [(5, 5 * sqrt(3) / 3), 5 * sqrt(3) * 2 / 3]), 53 ([(0, 0), (10, 0), (5, 5 * sqrt(3)), (4, 1), (6, 2), (4.5, 3), 55 [(5, 5 * sqrt(3) / 3), 5 * sqrt(3) * 2 / 3]),
|
/external/swiftshader/third_party/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
|
/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 | fmul.ll | 128 ; With unsafe/fast math, sqrt(X) * sqrt(X) is just X. 129 declare double @llvm.sqrt.f64(double) 132 %sqrt = call double @llvm.sqrt.f64(double %f) 133 %mul = fmul fast double %sqrt, %sqrt 139 ; With unsafe/fast math, sqrt(X) * sqrt(X) is just X, 140 ; but make sure another use of the sqrt is intact. 146 %sqrt = call double @llvm.sqrt.f64(double %f) 147 %mul1 = fmul fast double %sqrt, %sqrt 148 %mul2 = fmul double %mul1, %sqrt 151 ; CHECK-NEXT: %sqrt = call double @llvm.sqrt.f64(double %f) [all …]
|
/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/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/eigen/test/ |
D | stable_norm.cpp | 22 using std::sqrt; in stable_norm() 85 VERIFY(!(numext::isfinite)(sqrt(-abs(big)))); in stable_norm() 88 VERIFY((numext::isfinite)(sqrt(size)*abs(big))); in stable_norm() 89 …VERIFY_IS_NOT_APPROX(sqrt(copy(vbig.squaredNorm())), abs(sqrt(size)*big)); // here the default nor… in stable_norm() 90 VERIFY_IS_APPROX(vbig.stableNorm(), sqrt(size)*abs(big)); in stable_norm() 91 VERIFY_IS_APPROX(vbig.blueNorm(), sqrt(size)*abs(big)); in stable_norm() 92 VERIFY_IS_APPROX(vbig.hypotNorm(), sqrt(size)*abs(big)); in stable_norm() 95 VERIFY((numext::isfinite)(sqrt(size)*abs(small))); in stable_norm() 96 …VERIFY_IS_NOT_APPROX(sqrt(copy(vsmall.squaredNorm())), abs(sqrt(size)*small)); // here the defau… in stable_norm() 97 VERIFY_IS_APPROX(vsmall.stableNorm(), sqrt(size)*abs(small)); in stable_norm() [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/XCore/ |
D | sqrt.ll | 3 ; RUN: grep "bl sqrt" %t1.s | count 2 4 declare double @llvm.sqrt.f64(double) 7 %result = call double @llvm.sqrt.f64(double %F) 11 declare float @llvm.sqrt.f32(float) 14 %result = call float @llvm.sqrt.f32(float %F)
|
/external/vulkan-validation-layers/libs/glm/detail/ |
D | func_exponential.inl | 59 return static_cast<T>(1) / sqrt(x); 165 return detail::tvec1<T, P>(std::sqrt(x.x)); 174 return detail::tvec2<T, P>(std::sqrt(x.x), std::sqrt(x.y)); 183 return detail::tvec3<T, P>(std::sqrt(x.x), std::sqrt(x.y), std::sqrt(x.z)); 192 return detail::tvec4<T, P>(std::sqrt(x.x), std::sqrt(x.y), std::sqrt(x.z), std::sqrt(x.w)); 197 // sqrt 198 GLM_FUNC_QUALIFIER float sqrt(float x) function 208 GLM_FUNC_QUALIFIER double sqrt(double x) function 219 GLM_FUNC_QUALIFIER vecType<T, P> sqrt(vecType<T, P> const & x) function 221 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'sqrt' only accept floating-point inputs"); [all …]
|
/external/eigen/Eigen/src/Core/ |
D | StableNorm.h | 59 using std::sqrt; in blueNorm_impl() 93 relerr = sqrt(eps); // tolerance for neglecting asml in blueNorm_impl() 112 abig = sqrt(abig); in blueNorm_impl() 118 amed = sqrt(amed); in blueNorm_impl() 127 abig = sqrt(amed); in blueNorm_impl() 128 amed = sqrt(asml) / s1m; in blueNorm_impl() 131 return sqrt(asml)/s1m; in blueNorm_impl() 134 return sqrt(amed); in blueNorm_impl() 140 return abig * sqrt(RealScalar(1) + numext::abs2(asml/abig)); in blueNorm_impl() 159 using std::sqrt; in stableNorm() [all …]
|
/external/python/cpython2/Lib/test/ |
D | cmath_testcases.txt | 1408 -- sqrt: Square root -- 1412 sqrt0000 sqrt 0.0 0.0 -> 0.0 0.0 1413 sqrt0001 sqrt 0.0 -0.0 -> 0.0 -0.0 1414 sqrt0002 sqrt -0.0 0.0 -> 0.0 0.0 1415 sqrt0003 sqrt -0.0 -0.0 -> 0.0 -0.0 1418 sqrt0010 sqrt -9.8813129168249309e-324 0.0 -> 0.0 3.1434555694052576e-162 1419 sqrt0011 sqrt -9.8813129168249309e-324 -0.0 -> 0.0 -3.1434555694052576e-162 1420 sqrt0012 sqrt -1e-305 0.0 -> 0.0 3.1622776601683791e-153 1421 sqrt0013 sqrt -1e-305 -0.0 -> 0.0 -3.1622776601683791e-153 1422 sqrt0014 sqrt -1e-150 0.0 -> 0.0 9.9999999999999996e-76 [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | sqrt-fastmath.ll | 8 declare float @llvm.sqrt.f32(float) #0 9 declare <4 x float> @llvm.sqrt.v4f32(<4 x float>) #0 10 declare <8 x float> @llvm.sqrt.v8f32(<8 x float>) #0 86 %sqrt = tail call float @llvm.sqrt.f32(float %x) 87 %div = fdiv fast float 1.0, %sqrt 108 %sqrt = tail call <4 x float> @llvm.sqrt.v4f32(<4 x float> %x) 109 %div = fdiv fast <4 x float> <float 1.0, float 1.0, float 1.0, float 1.0>, %sqrt 133 %sqrt = tail call <8 x float> @llvm.sqrt.v8f32(<8 x float> %x) 134 …at> <float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0>, %sqrt
|
D | sqrt-fastmath-mir.ll | 1 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=avx2,fma -recip=sqrt:2 -stop-after=expand-is… 3 declare float @llvm.sqrt.f32(float) #0 25 %call = tail call float @llvm.sqrt.f32(float %f) #1 46 %sqrt = tail call float @llvm.sqrt.f32(float %f) 47 %div = fdiv fast float 1.0, %sqrt
|
/external/swiftshader/third_party/subzero/crosstest/ |
D | test_arith_sqrt.ll | 1 declare float @llvm.sqrt.f32(float) 2 declare double @llvm.sqrt.f64(double) 5 %x = call float @llvm.sqrt.f32(float %a) 10 %x = call double @llvm.sqrt.f64(double %a)
|