]> pd.if.org Git - pdclib/blobdiff - functions/math/fmin.c
Introducing personalities. Removing C++ function decs / defs.
[pdclib] / functions / math / fmin.c
index 212370d4f361c0ed441c5d44be179c7828bc7516..22ea9622abddfc367fc73e139c986a0fb4029a7c 100644 (file)
@@ -5,15 +5,13 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
+double fmin( double x, double y ) { /* TODO */ };
 
-float fmin( float x, float y ) { /* TODO */ };
-long double fmin( long double x, long double y ) { /* TODO */ };
+/* Therx code
+{
+    return ( x < y ) ? x : y;
+}
+*/
 
-// ----------------------------------------------------------------------------
-// Standard C
-
-double fmin( double x, double y ) { /* TODO */ };
 float fminf( float x, float y ) { /* TODO */ };
 long double fminl( long double x, long double y ) { /* TODO */ };