MCPcopy Index your code
hub / github.com/processing/processing / hypot

Method hypot

core/src/processing/opengl/LinePath.java:593–595  ·  view source on GitHub ↗
(double x, double y)

Source from the content-addressed store, hash-verified

591
592
593 public static double hypot(double x, double y) {
594 return Math.sqrt(x * x + y * y);
595 }
596
597
598 public static int hypot(int x, int y) {

Callers 2

computeOffsetMethod · 0.95
lineLengthMethod · 0.95

Calls 2

lsqrtMethod · 0.95
sqrtMethod · 0.80

Tested by

no test coverage detected