Flowdock
hypot(p1, p2) public

Returns sqrt(x**2 + y**2), the hypotenuse of a right-angled triangle with sides x and y.

   Math.hypot(3, 4)   #=> 5.0
Show source
Register or log in to add new notes.