/third_party/toybox/tests/files/bc/ |
D | sqrt.txt | 2 sqrt(0) 3 sqrt(2) 4 sqrt(4) 5 sqrt(9) 6 sqrt(16) 7 sqrt(25) 8 sqrt(121) 9 sqrt(48765) 10 sqrt(9287356207356) 11 sqrt(0.189274385967238956872354) [all …]
|
/third_party/skia/resources/sksl/intrinsics/ |
D | Sqrt.sksl | 7 return (sqrt(inputVal.x) == expected.x && 8 sqrt(inputVal.xy) == expected.xy && 9 sqrt(inputVal.xyz) == expected.xyz && 10 sqrt(inputVal.xyzw) == expected.xyzw && 11 sqrt(constVal.x) == expected.x && 12 sqrt(constVal.xy) == expected.xy && 13 sqrt(constVal.xyz) == expected.xyz && 14 sqrt(constVal.xyzw) == expected.xyzw && 15 sqrt(negativeVal.x) == expected.x && 16 sqrt(negativeVal.xy) == expected.xy && [all …]
|
/third_party/musl/libc-test/src/functional/ |
D | tgmath.c | 15 if (sqrt(2.0f) != 1.41421353816986083984375) in main() 16 t_error("sqrt(2.0f) want 0x1.6a09e6p+0 got %a\n", sqrt(2.0f)); in main() 17 if (sqrt(2.0) != 1.414213562373095145474621858738828450441360) in main() 18 t_error("sqrt(2.0) want 0x1.6a09e667f3bcdp+0 got %a\n", sqrt(2.0)); in main() 19 if (sqrt(2) != 1.414213562373095145474621858738828450441360) in main() 20 t_error("sqrt(2) want 0x1.6a09e667f3bcdp+0 got %a\n", sqrt(2.0)); in main() 22 if (sizeof pow(sqrt(8),0.5f) != sizeof(double)) in main() 23 …t_error("sizeof pow(sqrt(8),0.5f) want %d got %d\n", (int)sizeof(double), (int)sizeof pow(sqrt(8),… in main()
|
/third_party/skia/tests/sksl/intrinsics/ |
D | Sqrt.glsl | 9 …sqrt(inputVal.x) == expected.x && sqrt(inputVal.xy) == expected.xy) && sqrt(inputVal.xyz) == expec…
|
D | Sqrt.metal | 19 …sqrt(_uniforms.inputVal.x) == _uniforms.expected.x && all(sqrt(_uniforms.inputVal.xy) == _uniforms…
|
/third_party/skia/site/docs/dev/design/conical/ |
D | _index.md | 86 2. $\left(\sqrt{(r_1^2 - 1) y ^2 + r_1^2 x^2} - x\right) / (r_1^2 - 1)$ if 88 3. $\left(\pm \sqrt{(r_1^2 - 1) y ^2 + r_1^2 x^2} - x\right) / (r_1^2 - 1)$ if 129 $x' = r_1 / (r_1^2 - 1) x,~ y' = \frac{\sqrt{r_1^2 - 1}}{r_1^2 - 1} y$, then 130 $x_t = \sqrt{x'^2 + y'^2} - x' / r_1$ 132 $x' = r_1 / (r_1^2 - 1) x,~ y' = \frac{\sqrt{1 - r_1^2}}{r_1^2 - 1} y$, then 133 $x_t = \pm\sqrt{x'^2 - y'^2} - x' / r_1$ 146 $x' = r_1 / (r_1^2 - 1) x,~ y' = \sqrt{|r_1^2 - 1|} / (r_1^2 - 1) y$ if 150 6. If $r_1 > 1$, let $\hat x_t = \sqrt{\hat x^2 + \hat y^2} - \hat x / r_1$ 153 9. let $\hat x_t = -\sqrt{\hat x^2 - \hat y^2} - \hat x / r_1$ if we've swapped 156 10. let $\hat x_t = \sqrt{\hat x^2 - \hat y^2} - \hat x / r_1$ otherwise [all …]
|
/third_party/python/Lib/test/ |
D | cmath_testcases.txt | 1428 -- sqrt: Square root -- 1432 sqrt0000 sqrt 0.0 0.0 -> 0.0 0.0 1433 sqrt0001 sqrt 0.0 -0.0 -> 0.0 -0.0 1434 sqrt0002 sqrt -0.0 0.0 -> 0.0 0.0 1435 sqrt0003 sqrt -0.0 -0.0 -> 0.0 -0.0 1438 sqrt0010 sqrt -9.8813129168249309e-324 0.0 -> 0.0 3.1434555694052576e-162 1439 sqrt0011 sqrt -9.8813129168249309e-324 -0.0 -> 0.0 -3.1434555694052576e-162 1440 sqrt0012 sqrt -1e-305 0.0 -> 0.0 3.1622776601683791e-153 1441 sqrt0013 sqrt -1e-305 -0.0 -> 0.0 -3.1622776601683791e-153 1442 sqrt0014 sqrt -1e-150 0.0 -> 0.0 9.9999999999999996e-76 [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | autolift4.symbols | 13 return Math.sqrt(this.x*this.x + this.y*this.y); 14 >Math.sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --)) 16 >sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --)) 54 return Math.sqrt(this.x*this.x + this.y*this.y + this.z*this.m); 55 >Math.sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --)) 57 >sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --))
|
D | autolift4.types | 13 return Math.sqrt(this.x*this.x + this.y*this.y); 14 >Math.sqrt(this.x*this.x + this.y*this.y) : number 15 >Math.sqrt : (x: number) => number 17 >sqrt : (x: number) => number 62 return Math.sqrt(this.x*this.x + this.y*this.y + this.z*this.m); 63 >Math.sqrt(this.x*this.x + this.y*this.y + this.z*this.m) : number 64 >Math.sqrt : (x: number) => number 66 >sqrt : (x: number) => number
|
D | objectLitPropertyScoping.types | 10 … return y; }, dist: function () { return Math.sqrt(x * x + y * y); … 28 >function () { return Math.sqrt(x * x + y * y); } : () => number 30 return Math.sqrt(x * x + y * y); 31 >Math.sqrt(x * x + y * y) : number 32 >Math.sqrt : (x: number) => number 34 >sqrt : (x: number) => number
|
D | assignmentCompatBug3.types | 8 … //x: "yo", //y: "boo", dist: function () { return Math.sqrt(x*x+y*y); // should… 22 >function () { return Math.sqrt(x*x+y*y); // shouldn't be picking up "x" and "y" from the object … 24 return Math.sqrt(x*x+y*y); // shouldn't be picking up "x" and "y" from the object lit 25 >Math.sqrt(x*x+y*y) : number 26 >Math.sqrt : (x: number) => number 28 >sqrt : (x: number) => number
|
D | objectLitPropertyScoping.symbols | 27 return Math.sqrt(x * x + y * y); 28 >Math.sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --)) 30 >sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --))
|
D | commonSourceDir6.symbols | 14 export var i = Math.sqrt(-1); 16 >Math.sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --)) 18 >sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --))
|
D | commonSourceDir5.symbols | 14 export var i = Math.sqrt(-1); 16 >Math.sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --)) 18 >sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --))
|
D | exhaustiveSwitchStatements1.types | 212 case "triangle": area = Math.sqrt(3) / 4 * s.side * s.side; break; 214 >area = Math.sqrt(3) / 4 * s.side * s.side : number 216 >Math.sqrt(3) / 4 * s.side * s.side : number 217 >Math.sqrt(3) / 4 * s.side : number 218 >Math.sqrt(3) / 4 : number 219 >Math.sqrt(3) : number 220 >Math.sqrt : (x: number) => number 222 >sqrt : (x: number) => number 244 …rn Math.PI * s.radius * s.radius; case "triangle": return Math.sqrt(3) / 4 * s.side * s… 246 …rn Math.PI * s.radius * s.radius; case "triangle": return Math.sqrt(3) / 4 * s.side * s… [all …]
|
D | commonSourceDir5.types | 15 export var i = Math.sqrt(-1); 17 >Math.sqrt(-1) : number 18 >Math.sqrt : (x: number) => number 20 >sqrt : (x: number) => number
|
D | commonSourceDir6.types | 15 export var i = Math.sqrt(-1); 17 >Math.sqrt(-1) : number 18 >Math.sqrt : (x: number) => number 20 >sqrt : (x: number) => number
|
D | assignmentCompatBug3.symbols | 21 return Math.sqrt(x*x+y*y); // shouldn't be picking up "x" and "y" from the object lit 22 >Math.sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --)) 24 >sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --))
|
D | jsDeclarationsFunctionLikeClasses.symbols | 44 return Math.sqrt(p.x ** 2 + p.y ** 2); 45 >Math.sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --)) 47 >sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --))
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | acosh.c | 4 #undef sqrt 5 #define sqrt sqrtl macro 18 return log1p(x-1 + sqrt((x-1)*(x-1)+2*(x-1))); in acosh() 21 return log(2*x - 1/(x+sqrt(x*x-1))); in acosh()
|
/third_party/musl/src/math/ |
D | acosh.c | 4 #undef sqrt 5 #define sqrt sqrtl macro 18 return log1p(x-1 + sqrt((x-1)*(x-1)+2*(x-1))); in acosh() 21 return log(2*x - 1/(x+sqrt(x*x-1))); in acosh()
|
/third_party/skia/third_party/externals/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)
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/ |
D | sqrt.glsl | 3 ; FUNC-LABEL: {{^}}@sqrt: 9 #shader fs sqrt 13 gl_FragColor.x = sqrt(f); 27 gl_FragColor.x = 1 / sqrt(f);
|
/third_party/musl/src/math/x32/ |
D | sqrt.s | 1 .global sqrt symbol 2 .type sqrt,@function 3 sqrt: sqrtsd %xmm0, %xmm0 label
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | chi_square.cc | 128 return std::pow(z * std::sqrt(variance) + mean, 3.0) * dof; in ChiSquareValue() 137 double current = dof / std::sqrt(p_value); in ChiSquareValue() 175 const double z = (chi_square_scaled - mean) / std::sqrt(variance); in ChiSquarePValue() 201 double s = even ? y : (2.0 * POZ(-std::sqrt(chi_square))); in ChiSquarePValue() 220 double e = (even ? 1.0 : (kInverseSqrtPi / std::sqrt(a))); in ChiSquarePValue()
|