/aosp12/art/test/123-inline-execute2/ |
H A D | expected-stdout.txt | 96 Math.hypot(-3.0, -2.0) = 3.605551275464 104 Math.hypot(-2.0, -1.0) = 2.236067977500 112 Math.hypot(-1.0, 0.0) = 1.000000000000 120 Math.hypot(0.0, 1.0) = 1.000000000000 128 Math.hypot(1.0, 2.0) = 2.236067977500 136 Math.hypot(2.0, 3.0) = 3.605551275464 144 Math.hypot(3.0, 4.0) = 5.000000000000 263 StrictMath.hypot(-1.0, 0.0) = 1.0 271 StrictMath.hypot(0.0, 1.0) = 1.0 279 StrictMath.hypot(1.0, 2.0) = 2.23606797749979 [all …]
|
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_clog.c | 72 return (CMPLX(log(hypot(x, y)), v)); in clog() 87 return (CMPLX(log(hypot(x * 0x1p-1022, y * 0x1p-1022)) + in clog() 90 return (CMPLX(log(hypot(x, y)), v)); in clog() 94 return (CMPLX(log(hypot(x * 0x1p1023, y * 0x1p1023)) + in clog() 99 return (CMPLX(log(hypot(x, y)), v)); in clog()
|
H A D | s_csqrtf.c | 78 t = sqrt((a + hypot(a, b)) * 0.5); in csqrtf() 81 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrtf()
|
H A D | s_csqrt.c | 101 t = sqrt((a + hypot(a, b)) * 0.5); in csqrt() 105 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrt()
|
H A D | catrig.c | 161 R = hypot(x, y + 1); /* |z+I| */ in do_hard_work() 162 S = hypot(x, y - 1); /* |z-I| */ in do_hard_work() 485 return (CMPLX(log(hypot(x / m_e, y / m_e)) + 1, atan2(y, x))); in clog_for_large_values() 492 return (CMPLX(log(hypot(x, y)), atan2(y, x))); in clog_for_large_values()
|
H A D | w_cabs.c | 18 return hypot(creal(z), cimag(z)); in cabs()
|
/aosp12/bionic/libm/x86/ |
H A D | e_hypot.S | 82 # -- Begin hypot 83 ENTRY(hypot) 198 END(hypot) 199 # -- End hypot 202 ALIAS_SYMBOL(hypotl, hypot);
|
/aosp12/bionic/libm/x86_64/ |
H A D | e_hypot.S | 67 # -- Begin hypot 68 ENTRY(hypot) 177 END(hypot) 178 # -- End hypot
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | FloatMath.java | 130 public static float hypot(float x, float y) { in hypot() method in FloatMath 131 return (float) Math.hypot(x, y); in hypot()
|
H A D | MathUtils.java | 105 return (float) Math.hypot(x, y); in dist() 116 return (float) Math.hypot(a, b); in mag()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | BogusMoveEventDetector.java | 69 final float keyDiagonal = (float)Math.hypot(keyWidth, keyHeight); in setKeyboardGeometry() 108 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance()
|
H A D | GestureStrokeDrawingPoints.java | 65 mDistanceFromLastSample += Math.hypot(x - mLastX, y - mLastY); in needsSampling() 148 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, in interpolateStrokeAndReturnStartIndexOfLastSegment()
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | GestureUtils.java | 85 final float firstMagnitude = (float) Math.hypot(firstDeltaX, firstDeltaY); in isDraggingGesture() 98 final float secondMagnitude = (float) Math.hypot(secondDeltaX, secondDeltaY); in isDraggingGesture()
|
/aosp12/frameworks/base/core/java/android/transition/ |
H A D | PatternPathMotion.java | 120 float distance = (float) Math.hypot(dx, dy); in setPatternPath() 133 float length = (float) Math.hypot(dx, dy); in getPath()
|
H A D | Explode.java | 153 double vectorSize = Math.hypot(xVector, yVector); in calculateOut() 167 return Math.hypot(maxX, maxY); in calculateMaxDistance()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | RelativeTouchListener.kt | 26 import kotlin.math.hypot 125 if (!movedEnough && hypot(dx, dy) > touchSlop && !performedLongClick) {
|
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
H A D | Painting.kt | 32 fun hypot(x: Float, y: Float): Float { regex 33 return Math.hypot(x.toDouble(), y.toDouble()).toFloat() 191 val d = hypot(s.x - x, s.y - y)
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipPinchResizingAlgorithm.java | 44 float downDist = (float) Math.hypot(downSecondPoint.x - downPoint.x, in calculateBoundsAndAngle() 46 float dist = (float) Math.hypot(lastSecondPoint.x - lastPoint.x, in calculateBoundsAndAngle()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
H A D | MagnetizedObject.kt | 36 import kotlin.math.hypot 348 val dragDistance = hypot(ev.rawX - touchDown.x, ev.rawY - touchDown.y) 359 val distanceFromTargetCenter = hypot(
|
/aosp12/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 296 float distance = (float) Math.hypot(deltaX, deltaY); in temporalSampling() 382 sum += Math.hypot(dx, dy); in computeTotalLength() 391 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness() 397 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness()
|
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/ |
H A D | PipSurfaceTransactionHelper.java | 134 final float scale = (float) (Math.hypot(fromBounds.width(), fromBounds.height()) in getScaledCornerRadius() 135 / Math.hypot(toBounds.width(), toBounds.height())); in getScaledCornerRadius()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GeometryMathUtils.java | 154 float length = (float) Math.hypot(a[0], a[1]); in normalize() 163 float length = (float) Math.hypot(b[0], b[1]); in scalarProjection() 178 float length = (float) Math.hypot(p[0], p[1]); in getUnitVectorFromPoints() 201 return (float) Math.hypot(a[0], a[1]); in vectorLength()
|
/aosp12/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoTouchListener.java | 103 final float v = (float) Math.hypot(dX, dY); in onFling() 208 double distance = Math.hypot(x0 - mInitialTouchX, in onTouch()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipSurfaceTransactionHelper.java | 196 final float scale = (float) (Math.hypot(fromBounds.width(), fromBounds.height()) in round() 197 / Math.hypot(toBounds.width(), toBounds.height())); in round()
|
/aosp12/art/test/123-inline-execute2/src/ |
H A D | Main.java | 65 + String.format(Locale.US, "%.12f", Math.hypot(e, e + 1.0))); in main() 105 + StrictMath.hypot(e, e + 1.0)); in main()
|