Jump to navigation Jump to search
Revision as of 23:19, 20 August 2017 by
The _HYPOT function returns the hypotenuse of a right-angled triangle whose legs are x and y.
- result! = _HYPOT( x, y)
- x and y are the floating point values corresponding to the legs of a right-angled triangle for which the hypotenuse is computed.
- The function returns what would be the square root of the sum of the squares of x and y (as per the Pythagorean theorem).
3 , 4 and 5 form a right-angled triangle.
- ATN (arctangent)
- _PI (QB64 function)
- Mathematical Operations
- C++ reference for hypot() - source of the text and sample above