/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidFloatDoubleTest.java | 89 Float sqrtm2 = Float.valueOf((float) Math.sqrt(-2.0f)); 90 Float sqrtm3 = Float.valueOf((float) Math.sqrt(-3.0f)); 144 Double sqrtm2 = Double.valueOf(Math.sqrt(-2.0)); 145 Double sqrtm3 = Double.valueOf(Math.sqrt(-3.0));
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ |
eval.pass.cpp | 55 double dev = std::sqrt(var);
|
eval_param.pass.cpp | 56 double dev = std::sqrt(var);
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
eval.pass.cpp | 58 double dev = std::sqrt(var); 97 double dev = std::sqrt(var); 136 double dev = std::sqrt(var); 175 double dev = std::sqrt(var);
|
eval_param.pass.cpp | 59 double dev = std::sqrt(var); 99 double dev = std::sqrt(var); 139 double dev = std::sqrt(var); 179 double dev = std::sqrt(var);
|
/packages/apps/Gallery2/jni/filters/ |
vignette.c | 42 float dist = sqrt(x*x+y*y)-1;
|
/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...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 42 private static final float NONUNIFORM_SCALE = (float) Math.sqrt(2); 228 float topLeft = (float) Math.sqrt(xFloorSq + yFloorSq); 229 float topRight = (float) Math.sqrt(xCeilingSq + yFloorSq); 230 float btmLeft = (float) Math.sqrt(xFloorSq + yCeilingSq); 231 float btmRight = (float) Math.sqrt(xCeilingSq + yCeilingSq); 296 float distance = (float) Math.sqrt(deltaX * deltaX + deltaY * deltaY); 382 sum += Math.sqrt(dx * dx + dy * dy); 391 return (float) Math.sqrt(dx * dx + dy * dy) / totalLen; 397 return (float) Math.sqrt(dx * dx + dy * dy) / totalLen; 548 float rightside = (float) Math.sqrt(Math.pow(value, 2) - b) [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_linalg.cpp | 35 /*[50 mult 35 add 6sqrt=85flops 6func]*/ 38 d[0]=((s>0.0)?sqrt(s):1.0); 47 d[1]=((s>0.0)?sqrt(s):1.0); 55 d[2]=((s>0.0)?sqrt(s):1.0); 62 d[3]=((s>0.0)?sqrt(s):1.0); 68 d[4]=((s>0.0)?sqrt(s):1.0); 73 d[5]=((s>0.0)?sqrt(s):1.0); 93 d[i]=((s>0.0)?sqrt(s):1.0); 129 d[0]=((s>0.0)?sqrt(s):1.0); 135 d[1]=((s>0.0)?sqrt(s):1.0) [all...] |
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_utilities_linalg.cpp | 35 /*[50 mult 35 add 6sqrt=85flops 6func]*/ 38 d[0]=((s>0.0)?sqrt(s):1.0); 47 d[1]=((s>0.0)?sqrt(s):1.0); 55 d[2]=((s>0.0)?sqrt(s):1.0); 62 d[3]=((s>0.0)?sqrt(s):1.0); 68 d[4]=((s>0.0)?sqrt(s):1.0); 73 d[5]=((s>0.0)?sqrt(s):1.0); 93 d[i]=((s>0.0)?sqrt(s):1.0); 129 d[0]=((s>0.0)?sqrt(s):1.0); 135 d[1]=((s>0.0)?sqrt(s):1.0) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_linalg.cpp | 35 /*[50 mult 35 add 6sqrt=85flops 6func]*/ 38 d[0]=((s>0.0)?sqrt(s):1.0); 47 d[1]=((s>0.0)?sqrt(s):1.0); 55 d[2]=((s>0.0)?sqrt(s):1.0); 62 d[3]=((s>0.0)?sqrt(s):1.0); 68 d[4]=((s>0.0)?sqrt(s):1.0); 73 d[5]=((s>0.0)?sqrt(s):1.0); 93 d[i]=((s>0.0)?sqrt(s):1.0); 129 d[0]=((s>0.0)?sqrt(s):1.0); 135 d[1]=((s>0.0)?sqrt(s):1.0) [all...] |
/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-tests/test/com/google/common/math/ |
LongMathTest.java | 48 assertEquals(BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(), 64 assertEquals(BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR), 68 BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * LongMath.HALF_POWERS_OF_10.length + 1), FLOOR); 73 assertEquals(LongMath.sqrt(Long.MAX_VALUE, FLOOR), LongMath.FLOOR_SQRT_MAX_LONG); 237 LongMath.sqrt(x, mode); 244 // Relies on the correctness of BigIntegerMath.sqrt for all modes except UNNECESSARY. 250 assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(LongMath.sqrt(x, mode))); 255 /* Relies on the correctness of sqrt(long, FLOOR). */ 258 long logFloor = LongMath.sqrt(x, FLOOR) [all...] |
/frameworks/base/core/java/android/hardware/ |
GeomagneticField.java | 284 return (float) Math.sqrt(mX * mX + mY * mY); 291 return (float) Math.sqrt(mX * mX + mY * mY + mZ * mZ); 315 (float) Math.sqrt(a2 * clat * clat + b2 * slat * slat); 323 + 2 * altitudeKm * (float) Math.sqrt(a2 * clat * clat + 327 mGcRadiusKm = (float) Math.sqrt(radSq); 391 * sqrt((m==0?1:2)*(n-m)!/(n+m!))*(2n-1)!!/(n-m)! 402 * (float) Math.sqrt((n - m + 1) * (m == 1 ? 2 : 1)
|
/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/eigen/unsupported/Eigen/src/IterativeSolvers/ |
Scaling.h | 104 Dr(i) = std::sqrt(Dr(i)); 105 Dc(i) = std::sqrt(Dc(i));
|
/external/libvpx/libvpx/vp8/common/x86/ |
dequantize_mmx.asm | 104 paddw mm5, mm1 ; ip1 * sin(pi/8) * sqrt(2) 109 paddw mm7, mm3 ; ip3 * cos(pi/8) * sqrt(2) 159 paddw mm5, mm1 ; ip1 * sin(pi/8) * sqrt(2) 164 paddw mm7, mm3 ; ip3 * cos(pi/8) * sqrt(2)
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/ |
swim.c | 81 ttheta = RAD * atan(Z / (sqrt(X * X + Y * Y))); 173 R = sqrt(X * X + Y * Y + Z * Z);
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/ |
swim.c | 81 ttheta = RAD * atan(Z / (sqrt(X * X + Y * Y))); 173 R = sqrt(X * X + Y * Y + Z * Z);
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/ |
swim.c | 81 ttheta = RAD * atan(Z / (sqrt(X * X + Y * Y))); 173 R = sqrt(X * X + Y * Y + Z * Z);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
transform.c | 62 fact = 0.5 / sqrt(FRAMESAMPLES_HALF); 123 fact = sqrt(FRAMESAMPLES_HALF);
|
/frameworks/av/tools/resampler_tools/ |
fir.cpp | 43 ans=(exp(ax)/sqrt(ax))*(0.39894228+y*(0.1328592e-1 54 return I0(beta * sqrt(1.0 - sqr((2.0*k)/N - 1.0))) / I0(beta);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
FisheyeFilter.java | 70 " float radian = m_pi_2 - atan(alpha * sqrt(radius2 - dist * dist), dist);\n" + 161 float bound = (float) Math.sqrt(bound2); 165 (float) Math.atan(alpha / bound * (float) Math.sqrt(radius2 - bound2));
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
AmPmCirclesView.java | 118 (int) Math.sqrt((xCoord - mAmXCenter)*(xCoord - mAmXCenter) + squaredYDistance); 124 (int) Math.sqrt((xCoord - mPmXCenter)*(xCoord - mPmXCenter) + squaredYDistance);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
vignette.rsh | 40 const float neg_range = 0.7f*sqrt(desired_scale) - 1.3f;
|