qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
hypot, hypotl
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The hypot function calculates the length of the hypotenuse of a
     right triangle, given the length of the two sides <x> and <y>. A
     call to hypot is equivalent to the following:
 
          sqrt( x * x + y * y );
 
     The hypotl function uses the 80-bit long double form of arguments
     and return values. In all other respects, it is identical to the
     regular function.
 
     Return Value
 
     These functions return the length of the hypotenuse. If an
     overflow results, hypot returns HUGE_VAL and sets errno to ERANGE.
                                    -♦-