]> pd.if.org Git - pdclib/blob - functions/math/hypot.c
Reviewed.
[pdclib] / functions / math / hypot.c
1 // ----------------------------------------------------------------------------
2 // $Id$
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
7
8 double hypot( double x, double y ) { /* TODO */ };
9
10 /* Therx code
11 {
12     return sqrt( x * x + y * y );
13 }
14 */
15
16 float hypotf( float x, float y ) { /* TODO */ };
17 long double hypotl( long double x, long double y ) { /* TODO */ };