]> pd.if.org Git - pdclib/blobdiff - functions/math/hypot.c
Merged PDPCLIB and Therx code.
[pdclib] / functions / math / hypot.c
index 449242dfecc51803e94db4bc72d523c68210c9e1..060f3ce2ca86aefec3f0ab8f59985dee3ef613fe 100644 (file)
@@ -15,5 +15,12 @@ long double hypot( long double x, long double y ) { /* TODO */ };
 // Standard C
 
 double hypot( double x, double y ) { /* TODO */ };
+
+/* Therx code
+{
+    return sqrt( x * x + y * y );
+}
+*/
+
 float hypotf( float x, float y ) { /* TODO */ };
 long double hypotl( long double x, long double y ) { /* TODO */ };