|
|
◆ Hypot()
| Function Hypot |
( |
X As |
Double, |
|
|
Y As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Square root of a square sum (hypotenuse)
- Purpose
- Computes the square root of the square sum of two arguments x and y, or the length of the hypotenuse of a right-angle triangle. It is designed to avoid the possible overflow and underflow errors.
- Returns
- Double
Square root of the square sum of x and y (sqrt(x^2 + y^2)).
- Parameters
-
| [in] | X | Argument x. |
| [in] | Y | Argument x. |
| [out] | Info | (Optional)
= 0: Successful exit.
= 1: Floating point range error. |
|