XLPack 6.1
Excel Worksheet Function Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ WHypot()

Function WHypot ( X As  Double,
Y As  Double 
)

Square root of a square sum (hypotenuse)

Purpose
WHypot 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
Square root of the square sum of x and y (sqrt(x^2 + y^2)).
Parameters
[in]XArgument x.
[in]YArgument x.