X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fmath%2Ffmin.c;h=62ff17a2c65beef38742f69c7a11f5b2783d6b1c;hp=212370d4f361c0ed441c5d44be179c7828bc7516;hb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/math/fmin.c b/functions/math/fmin.c index 212370d..62ff17a 100644 --- a/functions/math/fmin.c +++ b/functions/math/fmin.c @@ -15,5 +15,12 @@ long double fmin( long double x, long double y ) { /* TODO */ }; // Standard C double fmin( double x, double y ) { /* TODO */ }; + +/* Therx code +{ + return ( x < y ) ? x : y; +} +*/ + float fminf( float x, float y ) { /* TODO */ }; long double fminl( long double x, long double y ) { /* TODO */ };