Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-E028F433-9B48-4381-9969-38FE3CFEA08D
Visible to Intel only — GUID: GUID-E028F433-9B48-4381-9969-38FE3CFEA08D
HYPOT
Elemental Intrinsic Function (Generic): Returns the value of the Euclidean distance of the arguments.
result = HYPOT (x,y)
x |
(Input) Must be of type real. |
y |
(Input) Must be of type real. It must be the same type and kind as x. |
The result type and kind are the same as x.
The result has a value equal to a processor-dependent approximation to the Euclidean distance, , without undue overflow or underflow.
HYPOT (3.0, 4.0) has the approximate value 5.0.