HYPOT(3f)

DESCRIPTION
HYPOT(X,Y) is the Euclidean distance function. It is equal to qrtX^2 + Y^2, without undue underflow or overflow.

STANDARD
Fortran 2008 and later

CLASS
Elemental function

SYNTAX
RESULT = HYPOT(X, Y)

ARGUMENTS

X The type shall be REAL. Y The type and kind type parameter shall be the same as X.

RETURN VALUE
The return value has the same type and kind type parameter as X.

EXAMPLE
          program test_hypot
            real(4) :: x = 1.e0_4, y = 0.5e0_4
            x = hypot(x,y)
          end program test_hypot

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).