Home
last modified time | relevance | path

Searched refs:sqrt (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
D15.8.2.17.js50 …array[item++] = new TestCase( SECTION, "Math.sqrt.length", 1, Math.sqrt.length );
52 array[item++] = new TestCase( SECTION, "Math.sqrt()", Number.NaN, Math.sqrt() );
53 …array[item++] = new TestCase( SECTION, "Math.sqrt(void 0)", Number.NaN, Math.sqrt(void 0) …
54 … array[item++] = new TestCase( SECTION, "Math.sqrt(null)", 0, Math.sqrt(null) );
55 array[item++] = new TestCase( SECTION, "Math.sqrt(true)", 1, Math.sqrt(1) );
56 …array[item++] = new TestCase( SECTION, "Math.sqrt(false)", 0, Math.sqrt(false) );
57 …array[item++] = new TestCase( SECTION, "Math.sqrt('225')", 15, Math.sqrt('225') );
59 …array[item++] = new TestCase( SECTION, "Math.sqrt(NaN)", Number.NaN, Math.sqrt(Number.N…
60 …array[item++] = new TestCase( SECTION, "Math.sqrt(-Infinity)", Number.NaN, Math.sqrt(Number.N…
61 array[item++] = new TestCase( SECTION, "Math.sqrt(-1)", Number.NaN, Math.sqrt(-1));
[all …]
/external/stlport/test/unit/
Dresolve_name.cpp12 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 …]
Dcmath_test.cpp80 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/Transforms/InstCombine/
Dsqrt.ll7 ; 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
Dno-negzero.ll3 ; sqrt(fabs) cannot be negative zero, so we should eliminate the fadd.
19 %3 = call double @sqrt(double %2) nounwind readonly ; <double> [#uses=1]
33 declare double @sqrt(double) nounwind readonly
/external/mesa3d/src/glsl/builtins/ir/
Dsqrt1 ((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)))))
Dacosh5 …((return (expression float log (expression float + (var_ref x) (expression float sqrt (expression …
10 …((return (expression vec2 log (expression vec2 + (var_ref x) (expression vec2 sqrt (expression vec…
15 …((return (expression vec3 log (expression vec3 + (var_ref x) (expression vec3 sqrt (expression vec…
20 …((return (expression vec4 log (expression vec4 + (var_ref x) (expression vec4 sqrt (expression vec…
Dasinh5 …((return (expression float log (expression float + (var_ref x) (expression float sqrt (expression …
10 …((return (expression vec2 log (expression vec2 + (var_ref x) (expression vec2 sqrt (expression vec…
15 …((return (expression vec3 log (expression vec3 + (var_ref x) (expression vec3 sqrt (expression vec…
20 …((return (expression vec4 log (expression vec4 + (var_ref x) (expression vec4 sqrt (expression vec…
Dlength10 ((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))))))
Dasin12 (expression float sqrt
36 (expression vec2 sqrt
60 (expression vec3 sqrt
84 (expression vec4 sqrt
Ddistance14 (return (expression float sqrt (expression float dot (var_ref p) (var_ref p))))))
22 (return (expression float sqrt (expression float dot (var_ref p) (var_ref p))))))
30 (return (expression float sqrt (expression float dot (var_ref p) (var_ref p))))))
/external/llvm/test/CodeGen/XCore/
Dsqrt.ll3 ; 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/llvm/test/CodeGen/PTX/
Dllvm-intrinsic.ll5 ; CHECK: sqrt.rn.f32 r{{[0-9]+}}, r{{[0-9]+}};
7 %y = call float @llvm.sqrt.f32(float %x)
13 ; CHECK: sqrt.rn.f64 rd{{[0-9]+}}, rd{{[0-9]+}};
15 %y = call double @llvm.sqrt.f64(double %x)
51 declare float @llvm.sqrt.f32(float)
52 declare double @llvm.sqrt.f64(double)
/external/llvm/test/CodeGen/X86/
Dbreak-sse-dep.ll30 %t = call float @llvm.sqrt.f32(float %z)
40 %t = call double @llvm.sqrt.f64(double %z)
49 %t = call float @llvm.sqrt.f32(float %z)
58 %t = call double @llvm.sqrt.f64(double %z)
62 declare float @llvm.sqrt.f32(float)
63 declare double @llvm.sqrt.f64(double)
/external/llvm/test/CodeGen/Generic/
Dintrinsics.ll4 declare float @llvm.sqrt.f32(float)
6 declare double @llvm.sqrt.f64(double)
9 %G = call float @llvm.sqrt.f32( float %F ) ; <float> [#uses=1]
11 %I = call double @llvm.sqrt.f64( double %H ) ; <double> [#uses=1]
/external/stlport/stlport/stl/config/
D_como.h89 # define sqrtl sqrt
127 # define sqrtf sqrt
128 # define sqrtl sqrt
163 # define sqrtl sqrt
/external/llvm/test/Transforms/SimplifyLibCalls/
Dpow-to-sqrt.ll4 ; SimplifyLibcalls should optimize pow(x, 0.5) to sqrt plus code to handle
20 ; CHECK: %sqrt = call double @sqrt(double %x) nounwind readonly
21 ; CHECK: %fabs = call double @fabs(double %sqrt) nounwind readonly
/external/webkit/Source/WebCore/platform/audio/
DBiquad.cpp196 double d = sqrt((4.0 - sqrt(16.0 - 16.0 / (g * g))) / 2.0); in setLowpassParams()
217 double d = sqrt((4.0 - sqrt(16.0 - 16.0 / (g * g))) / 2.0); in setHighpassParams()
239 double alpha = 0.5 * sin(theta) * sqrt((A + 1.0 / A) * (1.0 / S - 1.0) + 2.0); in setLowShelfParams()
242 double k2 = 2.0 * sqrt(A) * alpha; in setLowShelfParams()
/external/libvpx/vp8/common/ppc/
Didctllm_altivec.asm48 vaddsws v4, v4, v0 ;# ip[ 4] * sin(pi/8) * sqrt(2)
52 vsraw v5, v5, v12 ;# ip[12] * cos(pi/8) * sqrt(2)
59 vaddsws v3, v3, v1 ;# ip[12] * sin(pi/8) * sqrt(2)
62 vsraw v5, v5, v12 ;# ip[ 4] * cos(pi/8) * sqrt(2)
92 vaddsws v4, v4, v1 ;# ip[ 4] * sin(pi/8) * sqrt(2)
95 vsraw v5, v5, v12 ;# ip[12] * cos(pi/8) * sqrt(2)
102 vaddsws v2, v2, v3 ;# ip[12] * sin(pi/8) * sqrt(2)
105 vsraw v5, v5, v12 ;# ip[ 4] * cos(pi/8) * sqrt(2)
/external/llvm/test/Transforms/SCCP/
Dcalltest.ll3 ; No matter how hard you try, sqrt(1.0) is always 1.0. This allows the
6 declare double @sqrt(double)
14 %V2 = call double @sqrt( double %V ) ; <double> [#uses=1]
/external/opencv/cxcore/src/
Dcxjacobieigens.cpp96 anorm = sqrt( anorm + anorm ); in icvJacobiEigens_32f()
127 x = -Apq / sqrt( (double)Apq * Apq + (double)y * y ); in icvJacobiEigens_32f()
130 s = x / sqrt( 2.0 * (1.0 + sqrt( 1.0 - (double)x * x ))); in icvJacobiEigens_32f()
132 c = sqrt( 1.0 - s2 ); in icvJacobiEigens_32f()
247 anorm = sqrt( anorm + anorm ); in icvJacobiEigens_64d()
278 x = -Apq / sqrt( Apq * Apq + (double)y * y ); in icvJacobiEigens_64d()
281 s = x / sqrt( 2.0 * (1.0 + sqrt( 1.0 - (double)x * x ))); in icvJacobiEigens_64d()
283 c = sqrt( 1.0 - s2 ); in icvJacobiEigens_64d()
/external/stlport/stlport/stl/
D_cmath.h345 … (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
379 _STLP_DMATH_INLINE(sqrt) in _STLP_DMATH_INLINE()
405 # if defined (sqrt)
406 inline double __stlp_sqrt(double __x) { return sqrt(__x); } in __stlp_sqrt()
407 # undef sqrt
408 inline double sqrt(double __x) { return __stlp_sqrt(__x); } in sqrt() function
450 _STLP_DEF_MATH_INLINE(sqrt, sqrt)
498 inline long double hypot(long double x, long double y) { return sqrt(x * x + y * y); } in _STLP_MATH_INLINE2XX()
504 inline double hypot(double x, double y) { return sqrt(x * x + y * y); } in hypot()
515 … (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
[all …]
/external/webrtc/src/modules/audio_processing/aec/main/matlab/
Dfullaec.m154 wins=[0;sqrt(hanning(2*N-1))];
580 % %SeMin = 0.9*SeMin + 0.1*sqrt(SeLocalMin);
581 % SdMin = sqrt(SdLocalMin);
582 % %SeMin = sqrt(SeLocalMin)*hnlSortQ;
583 % SeMin = sqrt(SeLocalMin);
590 % %SeMin = sqrt(SeLocalAvg/5);
655 % wCurve = [0 ; 0 ; aggrFact*sqrt(linspace(0,1,N-1))' + 0.1];
657 % wCurve = [0; 0; 0; aggrFact*sqrt(linspace(0,1,N-2))' + 0.1];
659 wCurve = [0; aggrFact*sqrt(linspace(0,1,N))' + 0.1];
666 %weight = aggrFact*(sqrt(linspace(0,1,N+1)'));
[all …]
/external/llvm/test/Feature/
Dintrinsics.ll35 declare float @llvm.sqrt.f32(float)
37 declare double @llvm.sqrt.f64(double)
45 call float @llvm.sqrt.f32( float 5.000000e+00 ) ; <float>:3 [#uses=0]
46 call double @llvm.sqrt.f64( double 6.000000e+00 ) ; <double>:4 [#uses=0]
/external/opencv/cvaux/src/
Dcvlmeds.cpp215 b1 = sqrt( -D ); in icvCubic()
218 ro1 = sqrt( c1 * c1 - D ); in icvCubic()
227 c1 = q / 2 + sqrt( D ); in icvCubic()
228 c2 = q / 2 - sqrt( D ); in icvCubic()
427 d1 = (l1 * ml[i3] + l2 * ml[i3 + 1] + l3) / sqrt( l1 * l1 + l2 * l2 ); in icvMedian()
433 d2 = (l1 * mr[i3] + l2 * mr[i3 + 1] + l3) / sqrt( l1 * l1 + l2 * l2 ); in icvMedian()
504 sigma = (double) (2.5 * 1.4826 * (1 + 5. / (num - 7)) * sqrt( Mj )); in icvBoltingPoints()
513 d1 = (l1 * ml[i] + l2 * ml[i + 1] + l3) / sqrt( l1 * l1 + l2 * l2 ); in icvBoltingPoints()
519 d2 = (l1 * mr[i] + l2 * mr[i + 1] + l3) / sqrt( l1 * l1 + l2 * l2 ); in icvBoltingPoints()
635 w = sqrt( w ); in icvPoints8()
[all …]

12345678910>>...12