VMS Help
CPML, hypot()
*Conan The Librarian
|
Interface
F_TYPE hypot (F_TYPE x, F_TYPE y)
hypot() computes the length of the hypotenuse of a right
triangle, where x and y represent the perpendicular sides of
the triangle.
hypot(x,y) is defined as the square root of (x**2 + y**2) and
returns the same value as cabs(x,y).
Entry-Point Names
Generic Compaq
Function Data Type OpenVMS Tru64 UNIX
Name Required Alpha Alpha
hypot S_FLOAT math$hypot_s hypotf
T_FLOAT math$hypot_t hypot
X_FLOAT math$hypot_x hypotl
F_FLOAT math$hypot_f
G_FLOAT math$hypot_g
Exceptional Argument Routine Behavior
sqrt(x**2 + y**2) > max_float Overflow
Data
Type Value for: max_float
F Hexadecimal: FFFF7FFF
G Hexadecimal: FFFFFFFFFFFF7FFF
S Hexadecimal: 7F7FFFFF
T Hexadecimal: 7FEFFFFFFFFFFFFF
X Hexadecimal: 7FFEFFFFFFFFFFFFFFFFFFFFFFFFFFFF
F Decimal: 1.701411e38
G Decimal: 8.988465674311579e307
S Decimal: 3.402823e38
T Decimal: 1.797693134862316e308
X Decimal: 1.189731495357231765085759326628007016196477e4932