projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged PDPCLIB and Therx code.
[fw/pdclib]
/
functions
/
math
/
hypot.c
diff --git
a/functions/math/hypot.c
b/functions/math/hypot.c
index 449242dfecc51803e94db4bc72d523c68210c9e1..060f3ce2ca86aefec3f0ab8f59985dee3ef613fe 100644
(file)
--- a/
functions/math/hypot.c
+++ b/
functions/math/hypot.c
@@
-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 */ };