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
/
fmax.c
diff --git
a/functions/math/fmax.c
b/functions/math/fmax.c
index a775ae12b188f70c7c3127b00ea33edb3d069bc9..42856c5863b281e19fcab449bcbd10835c1a1902 100644
(file)
--- a/
functions/math/fmax.c
+++ b/
functions/math/fmax.c
@@
-15,5
+15,12
@@
long double fmax( long double x, long double y ) { /* TODO */ };
// Standard C
double fmax( double x, double y ) { /* TODO */ };
+
+/* Therx code
+{
+ return ( x > y ) ? x : y;
+}
+*/
+
float fmaxf( float x, float y ) { /* TODO */ };
long double fmaxl( long double x, long double y ) { /* TODO */ };