/packages/apps/DeskClock/src/com/android/deskclock/ |
CircleButtonsLinearLayout.java | 131 * => sin(t) = +/- sqrt(1 - cos^2(t)) 137 * => w = 2 * r * sqrt(1 - cos^2(t)) 138 * => w = 2 * r * sqrt(1 - (y / r)^2) 141 * sqrt(1 - (y / r)^2) 142 * => sqrt(1 - (y^2 / r^2)) 143 * => sqrt((r^2 / r^2) - (y^2 / r^2)) 144 * => sqrt((r^2 - y^2) / (r^2)) 145 * => sqrt(r^2 - y^2) / sqrt(r^2) 146 * => sqrt(r^2 - y^2) / [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 36 [24 mult 9 add 2sqrt 1acos 1cos=33flops 4func] 38 [16 mult 6 add 1sqrt 1qbrt=24flops 3func]*/ 55 srq=sqrt(q); 60 sin_theta_through3=sqrt(db_maxd(0.0,1.0-cos_theta_through3*cos_theta_through3)); 63 = -0.5*cos_theta_through3-sqrt(3)/2.0*sin_theta_through3 64 = -0.5*(cos_theta_through3+sqrt(3)*sin_theta_through3)*/ 75 A= -db_sign(r)*db_CubRoot(db_absd(r)+sqrt(r2_min_q3)); 85 si_r_srq=db_sign(r)*sqrt(q); 109 [16mult 11add 2sqrt 1cubic 2quadratic=74flops 8funcs]*/ 149 m=sqrt(ms) [all...] |
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 36 [24 mult 9 add 2sqrt 1acos 1cos=33flops 4func] 38 [16 mult 6 add 1sqrt 1qbrt=24flops 3func]*/ 55 srq=sqrt(q); 60 sin_theta_through3=sqrt(db_maxd(0.0,1.0-cos_theta_through3*cos_theta_through3)); 63 = -0.5*cos_theta_through3-sqrt(3)/2.0*sin_theta_through3 64 = -0.5*(cos_theta_through3+sqrt(3)*sin_theta_through3)*/ 75 A= -db_sign(r)*db_CubRoot(db_absd(r)+sqrt(r2_min_q3)); 85 si_r_srq=db_sign(r)*sqrt(q); 109 [16mult 11add 2sqrt 1cubic 2quadratic=74flops 8funcs]*/ 149 m=sqrt(ms) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 36 [24 mult 9 add 2sqrt 1acos 1cos=33flops 4func] 38 [16 mult 6 add 1sqrt 1qbrt=24flops 3func]*/ 55 srq=sqrt(q); 60 sin_theta_through3=sqrt(db_maxd(0.0,1.0-cos_theta_through3*cos_theta_through3)); 63 = -0.5*cos_theta_through3-sqrt(3)/2.0*sin_theta_through3 64 = -0.5*(cos_theta_through3+sqrt(3)*sin_theta_through3)*/ 75 A= -db_sign(r)*db_CubRoot(db_absd(r)+sqrt(r2_min_q3)); 85 si_r_srq=db_sign(r)*sqrt(q); 109 [16mult 11add 2sqrt 1cubic 2quadratic=74flops 8funcs]*/ 149 m=sqrt(ms) [all...] |
/external/llvm/test/CodeGen/X86/ |
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)
|
2006-05-17-VectorArg.ll | 8 %tmp3 = tail call float @llvm.sqrt.f32( float %abs ) ; <float> [#uses=1] 14 declare float @llvm.sqrt.f32(float)
|
/external/eigen/test/ |
stable_norm.cpp | 76 VERIFY(!isFinite(internal::sqrt(-internal::abs(big)))); 79 VERIFY(isFinite(internal::sqrt(size)*internal::abs(big))); 80 VERIFY_IS_NOT_APPROX(internal::sqrt(copy(vbig.squaredNorm())), internal::abs(internal::sqrt(size)*big)); // here the default norm must fail 81 VERIFY_IS_APPROX(vbig.stableNorm(), internal::sqrt(size)*internal::abs(big)); 82 VERIFY_IS_APPROX(vbig.blueNorm(), internal::sqrt(size)*internal::abs(big)); 83 VERIFY_IS_APPROX(vbig.hypotNorm(), internal::sqrt(size)*internal::abs(big)); 86 VERIFY(isFinite(internal::sqrt(size)*internal::abs(small))); 87 VERIFY_IS_NOT_APPROX(internal::sqrt(copy(vsmall.squaredNorm())), internal::abs(internal::sqrt(size)*small)); // here the default norm must fai [all...] |
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
Optics.glsllib | 17 float inv_two_p = 1.414 * sqrt(dzplus1);
18 //float inv_two_p = sqrt(dir.x * dir.x + dir.y * dir.y + dzplus1 * dzplus1);
|
/external/valgrind/main/auxprogs/ |
primes.c | 8 int sqrt_n = sqrt(n);
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/ |
dot_length.c | 33 extern float __attribute__((overloadable)) sqrt(float); 39 return sqrt(v.x*v.x + v.y*v.y); 42 return sqrt(v.x*v.x + v.y*v.y + v.z*v.z); 45 return sqrt(v.x*v.x + v.y*v.y + v.z*v.z + v.w*v.w);
|
/ndk/tests/build/mips-fp4/jni/ |
mips-fp4-test3-6.c | 17 return 1/sqrt(a);
|
/external/llvm/test/Transforms/SCCP/ |
calltest.ll | 3 ; 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]
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_acosh.c | 21 * acosh(x) = log [ x + sqrt(x*x-1) ] 24 * acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else 25 * acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1. 57 return __ieee754_log(2.0*x-one/(x+sqrt(t-one))); 60 return log1p(t+sqrt(2.0*t+t*t));
|
e_sqrtf.c | 37 return x*x+x; /* sqrt(NaN)=NaN, sqrt(+inf)=+inf 38 sqrt(-inf)=sNaN */ 42 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */ 44 return (x-x)/(x-x); /* sqrt(-ve) = sNaN */ 58 /* generate sqrt(x) bit by bit */ 60 q = s = 0; /* q = sqrt(x) */
|
e_sqrt.c | 18 * Return correctly rounded sqrt. 20 * | Use the hardware sqrt if you have one | 27 * sqrt(x) = 2^k * sqrt(y) 29 * Let q = sqrt(y) truncated to i bit after binary point (q = 1), 78 * sqrt(+-0) = +-0 ... exact 79 * sqrt(inf) = inf 80 * sqrt(-ve) = NaN ... with invalid signal 81 * sqrt(NaN) = NaN ... with invalid signal for signaling NaN 106 return x*x+x; /* sqrt(NaN)=NaN, sqrt(+inf)=+in [all...] |
/external/ceres-solver/internal/ceres/ |
corrector_test.cc | 59 double residuals = sqrt(3.0); 70 // residual[i] * sqrt(kRho[1]) / (1.0 - kAlpha). 72 residuals * sqrt(kRho[1]) / (1 - kAlpha); 75 // sqrt(kRho[1]) * (1 - kAlpha) * jacobian. 76 const double kExpectedJacobian = sqrt(kRho[1]) * (1 - kAlpha) * jacobian; 96 // i.e. alpha = 1.0 - sqrt(1.0). 99 // residual[i] * sqrt(kRho[1]) 100 const double kExpectedResidual = residuals * sqrt(kRho[1]); 103 // sqrt(kRho[1]) * jacobian. 104 const double kExpectedJacobian = sqrt(kRho[1]) * jacobian [all...] |
/external/jpeg/ |
jfdctint.c | 46 * Each 1-D DCT step produces outputs which are a factor of sqrt(N) 51 * because the y0 and y4 outputs need not be divided by sqrt(N). 150 /* Note results are scaled up by sqrt(8) compared to a true DCT; */ 165 * rotator "sqrt(2)*c1" should be "sqrt(2)*c6". 182 /* Odd part per figure 8 --- note paper omits factor of sqrt(2). 191 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ 193 tmp4 = MULTIPLY(tmp4, FIX_0_298631336); /* sqrt(2) * (-c1+c3+c5-c7) */ 194 tmp5 = MULTIPLY(tmp5, FIX_2_053119869); /* sqrt(2) * ( c1+c3-c5+c7) */ 195 tmp6 = MULTIPLY(tmp6, FIX_3_072711026); /* sqrt(2) * ( c1+c3+c5-c7) * [all...] |
jidctred.c | 176 tmp0 = MULTIPLY(z1, - FIX_0_211164243) /* sqrt(2) * (c3-c1) */ 177 + MULTIPLY(z2, FIX_1_451774981) /* sqrt(2) * (c3+c7) */ 178 + MULTIPLY(z3, - FIX_2_172734803) /* sqrt(2) * (-c1-c5) */ 179 + MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * (c5+c7) */ 181 tmp2 = MULTIPLY(z1, - FIX_0_509795579) /* sqrt(2) * (c7-c5) */ 182 + MULTIPLY(z2, - FIX_0_601344887) /* sqrt(2) * (c5-c1) */ 183 + MULTIPLY(z3, FIX_0_899976223) /* sqrt(2) * (c3-c7) */ 184 + MULTIPLY(z4, FIX_2_562915447); /* sqrt(2) * (c1+c3) */ 235 tmp0 = MULTIPLY(z1, - FIX_0_211164243) /* sqrt(2) * (c3-c1) */ 236 + MULTIPLY(z2, FIX_1_451774981) /* sqrt(2) * (c3+c7) * [all...] |
/external/qemu/distrib/jpeg-6b/ |
jfdctint.c | 46 * Each 1-D DCT step produces outputs which are a factor of sqrt(N) 51 * because the y0 and y4 outputs need not be divided by sqrt(N). 150 /* Note results are scaled up by sqrt(8) compared to a true DCT; */ 165 * rotator "sqrt(2)*c1" should be "sqrt(2)*c6". 182 /* Odd part per figure 8 --- note paper omits factor of sqrt(2). 191 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ 193 tmp4 = MULTIPLY(tmp4, FIX_0_298631336); /* sqrt(2) * (-c1+c3+c5-c7) */ 194 tmp5 = MULTIPLY(tmp5, FIX_2_053119869); /* sqrt(2) * ( c1+c3-c5+c7) */ 195 tmp6 = MULTIPLY(tmp6, FIX_3_072711026); /* sqrt(2) * ( c1+c3+c5-c7) * [all...] |
jidctred.c | 176 tmp0 = MULTIPLY(z1, - FIX_0_211164243) /* sqrt(2) * (c3-c1) */ 177 + MULTIPLY(z2, FIX_1_451774981) /* sqrt(2) * (c3+c7) */ 178 + MULTIPLY(z3, - FIX_2_172734803) /* sqrt(2) * (-c1-c5) */ 179 + MULTIPLY(z4, FIX_1_061594337); /* sqrt(2) * (c5+c7) */ 181 tmp2 = MULTIPLY(z1, - FIX_0_509795579) /* sqrt(2) * (c7-c5) */ 182 + MULTIPLY(z2, - FIX_0_601344887) /* sqrt(2) * (c5-c1) */ 183 + MULTIPLY(z3, FIX_0_899976223) /* sqrt(2) * (c3-c7) */ 184 + MULTIPLY(z4, FIX_2_562915447); /* sqrt(2) * (c1+c3) */ 235 tmp0 = MULTIPLY(z1, - FIX_0_211164243) /* sqrt(2) * (c3-c1) */ 236 + MULTIPLY(z2, FIX_1_451774981) /* sqrt(2) * (c3+c7) * [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
e_sqrt.h | 18 * Return correctly rounded sqrt. 20 * | Use the hardware sqrt if you have one | 27 * sqrt(x) = 2^k * sqrt(y) 29 * Let q = sqrt(y) truncated to i bit after binary point (q = 1), 78 * sqrt(+-0) = +-0 ... exact 79 * sqrt(inf) = inf 80 * sqrt(-ve) = NaN ... with invalid signal 81 * sqrt(NaN) = NaN ... with invalid signal for signaling NaN 152 return x*x+x; /* sqrt(NaN)=NaN, sqrt(+inf)=+in [all...] |
/external/llvm/test/Transforms/InstCombine/ |
no-negzero.ll | 3 ; 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/stlport/test/unit/ |
cmath_test.cpp | 80 CPPUNIT_CHECK( are_equals(std::sqrt(4.0), 2.0) ); 114 CPPUNIT_CHECK( are_equals(std::sqrt(4.0f), 2.0f) ); 140 CPPUNIT_CHECK( are_equals(std::sqrt(4.0l), 2.0l) ); 164 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0))), 2.0) ); 165 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0f))), 2.0f) ); 167 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0l))), 2.0l) ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
cmath_test.cpp | 80 CPPUNIT_CHECK( are_equals(std::sqrt(4.0), 2.0) ); 114 CPPUNIT_CHECK( are_equals(std::sqrt(4.0f), 2.0f) ); 140 CPPUNIT_CHECK( are_equals(std::sqrt(4.0l), 2.0l) ); 164 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0))), 2.0) ); 165 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0f))), 2.0f) ); 167 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0l))), 2.0l) ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
cmath_test.cpp | 80 CPPUNIT_CHECK( are_equals(std::sqrt(4.0), 2.0) ); 114 CPPUNIT_CHECK( are_equals(std::sqrt(4.0f), 2.0f) ); 140 CPPUNIT_CHECK( are_equals(std::sqrt(4.0l), 2.0l) ); 164 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0))), 2.0) ); 165 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0f))), 2.0f) ); 167 CPPUNIT_CHECK( are_equals(std::sqrt(std::sqrt(std::sqrt(256.0l))), 2.0l) ) [all...] |