/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysDetector.java | 26 // Top slide allowance is slightly longer (sqrt(2) times) than other edges.
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/config/ |
_como.h | 89 # define sqrtl sqrt 127 # define sqrtf sqrt 128 # define sqrtl sqrt 163 # define sqrtl sqrt
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/config/ |
_como.h | 89 # define sqrtl sqrt 127 # define sqrtf sqrt 128 # define sqrtl sqrt 163 # define sqrtl sqrt
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/config/ |
_como.h | 89 # define sqrtl sqrt 127 # define sqrtf sqrt 128 # define sqrtl sqrt 163 # define sqrtl sqrt
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/config/ |
_como.h | 89 # define sqrtl sqrt 127 # define sqrtf sqrt 128 # define sqrtl sqrt 163 # define sqrtl sqrt
|
/external/ceres-solver/internal/ceres/ |
jet_test.cc | 93 { // Check that sqrt(x * x) == x. 95 J w = sqrt(z); 101 { // Check that sqrt(y) * sqrt(y) == y. 102 J z = sqrt(y); 245 { // Check that abs(-x * x) == sqrt(x * x). 246 ExpectJetsClose(abs(-x), sqrt(x * x));
|
local_parameterization_test.cc | 135 T norm_delta = sqrt(squared_norm_delta); 172 sqrt(x_plus_delta[0] * x_plus_delta[0] + 209 double norm_x = sqrt(x[0] * x[0] + 233 double norm_x = sqrt(x[0] * x[0] + 243 const double delta_norm = sqrt(delta[0] * delta[0] +
|
/external/libvorbis/vq/ |
metrics.c | 113 mean+=sqrt(localmin); 119 fprintf(stderr,"\tminimum cell spacing (closest side): %g\n",sqrt(min)); 120 fprintf(stderr,"\tmaximum cell spacing (closest side): %g\n",sqrt(max)); 122 fprintf(stderr,"\tmean sq closest side spacing: %g\n",sqrt(meansq/total)); 141 sqrt(meanamplitudesq_acc/count)); 146 sqrt(meanerrorsq_acc/count)); 169 sqrt((histogram_errorsq[book]+i*dim)[k]/histogram[book][i]));
|
/cts/tools/dasm/test/ |
all_opcodes.d | 136 invoke-virtual {v1}, java/lang/Math/sqrt(D)D 137 invoke-super {v1}, java/lang/Math/sqrt(D)D 138 invoke-direct {v1}, java/lang/Math/sqrt(D)D 139 invoke-static {v1}, java/lang/Math/sqrt(D)D 140 ;invoke-interface {v1}, java/lang/Math/sqrt(D)D 142 invoke-virtual/range {v1..v4}, java/lang/Math/sqrt(D)D 143 invoke-super/range {v1..v4}, java/lang/Math/sqrt(D)D 144 invoke-direct/range {v1..v4}, java/lang/Math/sqrt(D)D 145 invoke-static/range {v1..v4}, java/lang/Math/sqrt(D)D 146 ;invoke-interface/range {v1..v4}, java/lang/Math/sqrt(D) [all...] |
/external/guava/guava/src/com/google/common/math/ |
BigIntegerMath.java | 94 * Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 165 // Since sqrt(10) is irrational, log10(x) - floorLog can never be exactly 0.5 179 * {@code sqrt(x)} is not an integer 182 public static BigInteger sqrt(BigInteger x, RoundingMode mode) { method in class:BigIntegerMath 185 return BigInteger.valueOf(LongMath.sqrt(x.longValue(), mode)); 221 * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is 222 * because guess' is the arithmetic mean of guess and x / guess, sqrt(x) is the geometric mean, 225 * b) this iteration converges to floor(sqrt(x)). In fact, the number of correct digits doubles 230 * definitely >= floor(sqrt(x)), and then continue the iteration until we reach a fixed point. 256 return DoubleMath.roundToBigInteger(Math.sqrt(DoubleUtils.bigToDouble(x)), HALF_EVEN) [all...] |
/external/opencv/cxcore/src/ |
cxjacobieigens.cpp | 96 anorm = sqrt( anorm + anorm ); 127 x = -Apq / sqrt( (double)Apq * Apq + (double)y * y ); 130 s = x / sqrt( 2.0 * (1.0 + sqrt( 1.0 - (double)x * x ))); 132 c = sqrt( 1.0 - s2 ); 247 anorm = sqrt( anorm + anorm ); 278 x = -Apq / sqrt( Apq * Apq + (double)y * y ); 281 s = x / sqrt( 2.0 * (1.0 + sqrt( 1.0 - (double)x * x ))); 283 c = sqrt( 1.0 - s2 ) [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_poly.h | 44 [5 mult 2 add 1 sqrt=7flops 1func]*/ 60 srs=sqrt(rs); 296 [96mult 60add 1sqrt=156flops 1sqrt]*/ 357 [4mult 1 sqrt=4flops 1sqrt]*/ 360 m=db_SafeReciprocal(sqrt(n0)); 365 m=db_SafeReciprocal(sqrt(n1)); 370 m=db_SafeReciprocal(sqrt(n2)); 375 m=db_SafeReciprocal(sqrt(n3)) [all...] |
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_utilities_poly.h | 44 [5 mult 2 add 1 sqrt=7flops 1func]*/ 60 srs=sqrt(rs); 296 [96mult 60add 1sqrt=156flops 1sqrt]*/ 357 [4mult 1 sqrt=4flops 1sqrt]*/ 360 m=db_SafeReciprocal(sqrt(n0)); 365 m=db_SafeReciprocal(sqrt(n1)); 370 m=db_SafeReciprocal(sqrt(n2)); 375 m=db_SafeReciprocal(sqrt(n3)) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_poly.h | 44 [5 mult 2 add 1 sqrt=7flops 1func]*/ 60 srs=sqrt(rs); 296 [96mult 60add 1sqrt=156flops 1sqrt]*/ 357 [4mult 1 sqrt=4flops 1sqrt]*/ 360 m=db_SafeReciprocal(sqrt(n0)); 365 m=db_SafeReciprocal(sqrt(n1)); 370 m=db_SafeReciprocal(sqrt(n2)); 375 m=db_SafeReciprocal(sqrt(n3)) [all...] |
/external/clang/test/CodeGen/ |
libcalls.c | 15 // CHECK-YES: call double @sqrt 16 // CHECK-NO: call double @sqrt 17 double l1 = sqrt(a1); 25 // CHECK-YES: declare double @sqrt(double) 28 // CHECK-NO: declare double @sqrt(double) [[NUW_RN]]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
EyePosition.java | 131 float length = FloatMath.sqrt(tx * tx + ty * ty + tz * tz); 132 float glength = FloatMath.sqrt(temp); 140 mZ = -FloatMath.sqrt( 156 mZ = (float) -Math.sqrt( 178 mZ = -FloatMath.sqrt(
|
/external/llvm/test/CodeGen/ARM/ |
vfloatintrinsics.ll | 8 ; CHECK: test_v2f32.sqrt: 9 define %v2f32 @test_v2f32.sqrt(%v2f32 %a) { 10 ; CHECK: sqrt 11 %1 = call %v2f32 @llvm.sqrt.v2f32(%v2f32 %a) 111 declare %v2f32 @llvm.sqrt.v2f32(%v2f32) #0 132 ; CHECK: test_v4f32.sqrt: 133 define %v4f32 @test_v4f32.sqrt(%v4f32 %a) { 134 ; CHECK: sqrt 135 %1 = call %v4f32 @llvm.sqrt.v4f32(%v4f32 %a) 235 declare %v4f32 @llvm.sqrt.v4f32(%v4f32) # [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
sqrt_l.cpp | 109 This function computes sqrt(L_x), where L_x is positive. 112 The function sqrt(L_x) is approximated by a table and linear 143 // y = sqrt(x) 145 // y = sqrt(f) * 2^(-e/2) 147 // a) e = 2k --> y = sqrt(f) * 2^-k (k = e div 2, 148 // 0.707 <= sqrt(f) < 1) 149 // b) e = 2k+1 --> y = sqrt(f/2) * 2^-k (k = e div 2, 150 0.5 <= sqrt(f/2) < 0.707) 224 y = sqrt(x) 226 y = sqrt(f) * 2^(-e/2 [all...] |
/external/llvm/test/Transforms/SimplifyLibCalls/ |
win-math.ll | 213 declare double @sqrt(double %x) 217 ; WIN32: double @sqrt 220 ; WIN64-NOT: double @sqrt 223 ; MINGW32-NOT: double @sqrt 226 ; MINGW64-NOT: double @sqrt 228 %2 = call double @sqrt(double %1)
|
/external/opencv/cvaux/src/ |
cvmorphcontours.cpp | 88 L1 = sqrt( (double)P1->x*P1->x + P1->y*P1->y); 89 L2 = sqrt( (double)P2->x*P2->x + P2->y*P2->y); 124 d_angle = acos( (B1->x*F1->x + B1->y*F1->y)/sqrt( (B1->x*B1->x + B1->y*B1->y)*(F1->x*F1->x + F1->y*F1->y) ) ); 138 d_angle = acos( (B1->x*F1->x + B1->y*F1->y)/sqrt( (B1->x*B1->x + B1->y*B1->y)*(F1->x*F1->x + F1->y*F1->y) ) ); 139 d_angle = d_angle - acos( (F0->x*K->x + F0->y*K->y)/sqrt( (F0->x*F0->x + F0->y*F0->y)*(K->x*K->x + K->y*K->y) ) ); 161 d_angle = acos( (B1->x*F1->x + B1->y*F1->y)/sqrt( (B1->x*B1->x + B1->y*B1->y)*(F1->x*F1->x + F1->y*F1->y) ) ); 162 d_angle = d_angle - acos( (B0->x*K->x + B0->y*K->y)/sqrt( (B0->x*B0->x + B0->y*B0->y)*(K->x*K->x + K->y*K->y) ) ); 183 d_angle = acos( (B0->x*F0->x + B0->y*F0->y)/sqrt( (B0->x*B0->x + B0->y*B0->y)*(F0->x*F0->x + F0->y*F0->y) ) ); 197 d_angle = acos( (B0->x*F0->x + B0->y*F0->y)/sqrt( (B0->x*B0->x + B0->y*B0->y)*(F0->x*F0->x + F0->y*F0->y) ) ); 198 d_angle = d_angle - acos( (F1->x*K->x + F1->y*K->y)/sqrt( (F1->x*F1->x + F1->y*F1->y)*(K->x*K->x + K->y*K->y) ) ) [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_log10.c | 78 * since there is no very large cancellation near x = sqrt(2) or 79 * x = 1/sqrt(2), but we do it anyway since it costs little on CPUs
|
s_csqrtf.c | 82 t = sqrt((a + hypot(a, b)) * 0.5); 85 t = sqrt((-a + hypot(a, b)) * 0.5);
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
imagetesthandler.cpp | 96 float x = (static_cast<float>(i) + j) / sqrt(2.0); 97 float y = (j - static_cast<float>(i)) / sqrt(2.0);
|
/external/eigen/Eigen/src/Core/ |
GlobalFunctions.h | 50 EIGEN_ARRAY_DECLARE_GLOBAL_STD_UNARY(sqrt,scalar_sqrt_op) 97 EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(sqrt,scalar_sqrt_op)
|
/external/freetype/include/freetype/internal/ |
ftcalc.h | 42 /* The result of `sqrt(x)'. */ 66 /* The result of `sqrt(x)'. */
|