home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_DEV08B.LHA / gerlib / Bonus / normal / hypot.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-12  |  102 b   |  8 lines

  1. #include <math.h>
  2.  
  3. const double
  4. hypot (const double x, const double y)
  5. {
  6.   return sqrt (x*x + y*y);
  7. }
  8.