/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestSqrt.rs | 24 return sqrt(inV); 28 return sqrt(inV); 32 return sqrt(inV); 36 return sqrt(inV); 40 return sqrt(inV); 44 return sqrt(inV); 48 return sqrt(inV); 52 return sqrt(inV);
|
/cts/tests/tests/libcorelegacy22/src/android/util/cts/ |
D | FloatMathTest.java | 24 assertEquals(5.0f, FloatMath.sqrt(25)); in testSqrt() 25 assertEquals(7, FloatMath.sqrt(49), 0); in testSqrt() 26 assertEquals(10, FloatMath.sqrt(100), 0); in testSqrt() 27 assertEquals(0, FloatMath.sqrt(0), 0); in testSqrt() 28 assertEquals(1, FloatMath.sqrt(1), 0); in testSqrt()
|
/cts/tests/tests/location/src/android/location/cts/psedorange/ |
D | Ecef2LlaConverter.java | 36 Math.sqrt(Math.pow(EARTH_SEMI_MAJOR_AXIS_METERS, 2) * (1 - Math.pow(ECCENTRICITY, 2))); 37 private static final double SECOND_ECCENTRICITY = Math.sqrt( 55 double pMeters = Math.sqrt(Math.pow(ecefXMeters, 2) + Math.pow(ecefYMeters, 2)); in convertECEFToLLACloseForm() 72 / Math.sqrt(1 - Math.pow(ECCENTRICITY, 2) * (Math.pow(Math.sin(latRadians), 2))); in convertECEFToLLACloseForm() 97 double xyLengthMeters = Math.sqrt(Math.pow(ecefXMeters, 2) + Math.pow(ecefYMeters, 2)); 98 double xyzLengthMeters = Math.sqrt(Math.pow(xyLengthMeters, 2) + Math.pow(ecefZMeters, 2)); 128 ni = EARTH_SEMI_MAJOR_AXIS_METERS / Math.sqrt(1 - (2 - 1 / INVERSE_FLATENNING) 142 if (Math.sqrt((pResidual * pResidual + ecefZMetersResidual * ecefZMetersResidual))
|
D | UserPositionVelocityWeightedLeastSquare.java | 372 Math.sqrt(positionH.getEntry(0, 0)), Math.sqrt(positionH.getEntry(1, 1)), in calculatePositionVelocityUncertaintyEnu() 373 Math.sqrt(positionH.getEntry(2, 2)), Math.sqrt(velocityH.getEntry(0, 0)), in calculatePositionVelocityUncertaintyEnu() 374 Math.sqrt(velocityH.getEntry(1, 1)), Math.sqrt(velocityH.getEntry(2, 2))}; in calculatePositionVelocityUncertaintyEnu() 813 double norm = Math.sqrt(Math.pow(r[0], 2) + Math.pow(r[1], 2) + Math.pow(r[2], 2)); in calculateGeometryMatrix() 898 * Math.sqrt( in computePseudorangeAndUncertainties()
|
D | SatellitePositionCalculator.java | 112 Math.sqrt(1.0 - ephemerisProto.e * ephemerisProto.e) in calculateSatellitePositionAndVelocity() 168 double n0 = Math.sqrt(UNIVERSAL_GRAVITATIONAL_PARAMETER_M3_SM2 / (a * a * a)); in calculateSatellitePositionAndVelocity() 239 double rangeMeters = Math.sqrt(dXMeters * dXMeters + dYMeters * dYMeters + dZMeters * dZMeters); in computeUserToSatelliteRangeAndRangeRate()
|
D | GpsMathOperations.java | 37 return Math.sqrt(normSqured); in vectorNorm()
|
D | EcefToTopocentricConverter.java | 71 double distanceMeters = Math.sqrt(Math.pow(inputVectorMeters[0], 2) in convertCartesianToTopocentericRadMeters()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | StandardDeviationVerificationTest.java | 46 (float) Math.sqrt(2.5), (float) Math.sqrt(2.5), (float) Math.sqrt(10.0) in testVerify()
|
D | StandardDeviationVerification.java | 91 float mAccelNoise = (float)(graceFactorAccelGyro * Math.sqrt(currOperatingFreq) * in getDefault() 93 float mGyroNoise = (float)(graceFactorAccelGyro * Math.sqrt(currOperatingFreq) * in getDefault() 97 (float)Math.sqrt(currOperatingFreq)); // Allow extra grace for pressure in getDefault() 141 stdDevs[i] = (float) Math.sqrt(mM2s[i] / (mCount - 1)); in verify()
|
/cts/tools/dasm/test/ |
D | 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)D
|
/cts/tests/openglperf2/jni/graphics/ |
D | Vector2D.cpp | 49 return (float) sqrt(dx * dx + dy * dy); in distance() 67 return (float) sqrt(mX * mX + mY * mY); in magnitude()
|
D | Matrix.cpp | 144 float rlf = 1.0f / (float) sqrt(fx * fx + fy * fy + fz * fz); in newLookAt() 155 float rls = 1.0f / (float) sqrt(sx * sx + sy * sy + sz * sz); in newLookAt() 289 float len = sqrt((x * x) + (y * y) + (z * z)); in newRotate()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | GnssPseudorangeVerificationTest.java | 318 Math.sqrt(posVelUncertainties[0] * posVelUncertainties[0] in testPseudoPosition() 333 double horizontalOffsetThresholdMeters = HORIZONTAL_OFFSET_SIGMA * Math.sqrt( in testPseudoPosition() 358 Math.sqrt(posVelUncertainties[4] * posVelUncertainties[4] in testPseudoPosition() 371 double horizontalSpeedOffsetThresholdMps = HORIZONTAL_OFFSET_SIGMA * Math.sqrt( in testPseudoPosition() 379 Math.sqrt(calculatedVelocityEnuMps[0] * calculatedVelocityEnuMps[0] in testPseudoPosition()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | MathsUtils.java | 214 float mag = (float) Math.sqrt(mag2); in normalizeVector() 232 return (float) Math.sqrt((yDifference * yDifference) + (xDifference * xDifference)); in distanceCalculationOnXYPlane() 246 return (float) Math.sqrt((zDifference * zDifference) + (yDifference * yDifference) + in distanceCalculationInXYZSpace()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Target.java | 266 Floaty sqrt(Floaty a) { in sqrt() method in Target 271 double f = Math.sqrt(a.mValue); in sqrt() 272 double min = Math.sqrt(a.mMinValue); in sqrt() 273 double max = Math.sqrt(a.mMaxValue); in sqrt()
|
/cts/suite/audio_quality/lib/src/ |
D | BuiltinProcessing.cpp | 62 rms = (int64_t)sqrt(energy/samples); in rms_mva()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 241 rms = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)+ calcSqrErr(vrecs, srecs2, 1)); in processDataSet() 259 report.roll_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 0)); in processDataSet() 260 report.pitch_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 1)); in processDataSet() 261 report.yaw_rms_error = Math.sqrt(calcSqrErr(vrecs, srecs2, 2)); in processDataSet() 604 ret[1] = Math.sqrt(sumsq/srec.size() - ret[0]*ret[0]); in calcSensorPeriodStat() 1321 double t = Math.sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]); in rodr2quat() 1328 double t = Math.sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]); in rodr2quat() 1352 return Math.sqrt(Math.pow(a.x - b.x, 2) + Math.pow(a.y - b.y, 2)); in getDistanceBetweenPoints()
|
/cts/libs/view/src/com/android/view/ |
D | Position.java | 50 return Math.sqrt(Math.pow((mX - other.mX), 2) + Math.pow((mY - other.mY), 2)); in distanceTo()
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_yuv_plus_jpeg.py | 60 rms_diff = math.sqrt(
|
D | test_yuv_plus_raw10.py | 65 rms_diff = math.sqrt(
|
D | test_yuv_plus_raw12.py | 64 rms_diff = math.sqrt(
|
D | test_yuv_plus_raw.py | 64 rms_diff = math.sqrt(
|
D | test_jpeg.py | 60 rms_diff = math.sqrt(
|
/cts/tests/openglperf2/jni/primitive/shaderperf/ |
D | ShaderPerfRenderer.cpp | 21 static const float GOLDEN_RATIO = (1.0f + sqrt(5.0f)) / 2.0f;
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 76 Math.sqrt(field.getX() * field.getX() + field.getY() * field.getY()), in testGeomagneticField()
|