Calculates the length of the hypotenuse.
function Hypot(const X: Extended; const Y: Extended): Extended;
Extended Hypot(const Extended X, const Extended Y);
Math
Hypot returns the length of the hypotenuse of a right triangle. Specify the lengths of the sides adjacent to the right angle in X and Y. Hypot uses the formula
Sqrt(X**2 + Y**2)
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|