/external/eigen/doc/snippets/ |
Cwise_sqrt.cpp | 2 cout << v.sqrt() << endl;
|
Cwise_acos.cpp | 1 Array3d v(0, sqrt(2.)/2, 1);
|
Cwise_asin.cpp | 1 Array3d v(0, sqrt(2.)/2, 1);
|
/external/chromium_org/v8/test/webkit/ |
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 arbitrary ways, and not just in a context that converts values to numbers. 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 [all...] |
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 just in a context that converts values to numbers. 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/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
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)))))
|
length.ir | 10 ((return (expression float sqrt (expression float dot (var_ref arg0) (var_ref arg0)))))) 15 ((return (expression float sqrt (expression float dot (var_ref arg0) (var_ref arg0)))))) 20 ((return (expression float sqrt (expression float dot (var_ref arg0) (var_ref arg0))))))
|
acosh.ir | 5 ((return (expression float log (expression float + (var_ref x) (expression float sqrt (expression float - (expression float * (var_ref x) (var_ref x)) (constant float (1))))))))) 10 ((return (expression vec2 log (expression vec2 + (var_ref x) (expression vec2 sqrt (expression vec2 - (expression vec2 * (var_ref x) (var_ref x)) (constant float (1))))))))) 15 ((return (expression vec3 log (expression vec3 + (var_ref x) (expression vec3 sqrt (expression vec3 - (expression vec3 * (var_ref x) (var_ref x)) (constant float (1))))))))) 20 ((return (expression vec4 log (expression vec4 + (var_ref x) (expression vec4 sqrt (expression vec4 - (expression vec4 * (var_ref x) (var_ref x)) (constant float (1)))))))))
|
/external/mesa3d/src/glsl/builtins/ir/ |
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)))))
|
length.ir | 10 ((return (expression float sqrt (expression float dot (var_ref arg0) (var_ref arg0)))))) 15 ((return (expression float sqrt (expression float dot (var_ref arg0) (var_ref arg0)))))) 20 ((return (expression float sqrt (expression float dot (var_ref arg0) (var_ref arg0))))))
|
acosh.ir | 5 ((return (expression float log (expression float + (var_ref x) (expression float sqrt (expression float - (expression float * (var_ref x) (var_ref x)) (constant float (1))))))))) 10 ((return (expression vec2 log (expression vec2 + (var_ref x) (expression vec2 sqrt (expression vec2 - (expression vec2 * (var_ref x) (var_ref x)) (constant float (1))))))))) 15 ((return (expression vec3 log (expression vec3 + (var_ref x) (expression vec3 sqrt (expression vec3 - (expression vec3 * (var_ref x) (var_ref x)) (constant float (1))))))))) 20 ((return (expression vec4 log (expression vec4 + (var_ref x) (expression vec4 sqrt (expression vec4 - (expression vec4 * (var_ref x) (var_ref x)) (constant float (1)))))))))
|
/external/clang/test/CodeGen/ |
2004-02-20-Builtins.c | 2 double sqrt(double x); 4 num = sqrt(num);
|
2005-07-20-SqrtNoErrno.c | 2 // llvm.sqrt has undefined behavior on negative inputs, so it is 3 // inappropriate to translate C/C++ sqrt to this.
|
/external/eigen/unsupported/doc/examples/ |
MatrixLogarithm.cpp | 8 using std::sqrt; 10 A << 0.5*sqrt(2), -0.5*sqrt(2), 0, 11 0.5*sqrt(2), 0.5*sqrt(2), 0,
|
MatrixSquareRoot.cpp | 14 std::cout << "The matrix square root of A is:\n" << A.sqrt() << "\n\n"; 15 std::cout << "The square of the last matrix is:\n" << A.sqrt() * A.sqrt() << "\n";
|
/external/eigen/doc/examples/ |
Tutorial_ArrayClass_cwise_other.cpp | 15 cout << "a.abs().sqrt() =" << endl 16 << a.abs().sqrt() << endl; 17 cout << "a.min(a.abs().sqrt()) =" << endl 18 << a.min(a.abs().sqrt()) << endl;
|
/external/stlport/test/unit/ |
resolve_name.cpp | 12 d = sqrt( d ); 13 d = ::sqrt( d ); 14 d = std::sqrt( d ); 26 d = sqrt( d ); 27 d = ::sqrt( d ); 28 d = std::sqrt( d ); 34 // VC6 consider call to sqrt ambiguous as soon as using namespace std has 44 d = sqrt( d ); 45 d = ::sqrt( d ); 46 d = std::sqrt( d ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
resolve_name.cpp | 12 d = sqrt( d ); 13 d = ::sqrt( d ); 14 d = std::sqrt( d ); 26 d = sqrt( d ); 27 d = ::sqrt( d ); 28 d = std::sqrt( d ); 34 // VC6 consider call to sqrt ambiguous as soon as using namespace std has 44 d = sqrt( d ); 45 d = ::sqrt( d ); 46 d = std::sqrt( d ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
resolve_name.cpp | 12 d = sqrt( d ); 13 d = ::sqrt( d ); 14 d = std::sqrt( d ); 26 d = sqrt( d ); 27 d = ::sqrt( d ); 28 d = std::sqrt( d ); 34 // VC6 consider call to sqrt ambiguous as soon as using namespace std has 44 d = sqrt( d ); 45 d = ::sqrt( d ); 46 d = std::sqrt( d ) [all...] |
/external/llvm/test/CodeGen/R600/ |
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
|
/external/llvm/test/Transforms/InstCombine/ |
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
|
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)
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestSqrt.rs | 24 return sqrt(in); 28 return sqrt(in); 32 return sqrt(in); 36 return sqrt(in);
|
/external/llvm/test/CodeGen/SystemZ/ |
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/llvm/test/CodeGen/PowerPC/ |
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> [all...] |