MCPcopy Create free account
hub / github.com/dabing1022/Blog / hypot

Method hypot

Processing/game2dai/maths/FastMath.java:3938–3971  ·  view source on GitHub ↗

Returns the hypotenuse of a triangle with sides x and y - sqrt( x 2  + y 2 ) avoiding intermediate overflow or underflow. If either argument is infinite, then the result is positive infinity. else, if either argument is NaN

(final double x, final double y)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

getExponentMethod · 0.95
absMethod · 0.95
scalbMethod · 0.95
sqrtMethod · 0.95

Tested by

no test coverage detected