newlib/winsup/mingw/mingwex/math/fminf.c
Chris Sutcliffe 4d07e72514 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
* mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
2009-07-24 01:21:27 +00:00

8 lines
118 B
C

#include <math.h>
float
fminf (float _x, float _y)
{
return ((islessequal(_x, _y) || __isnanf (_y)) ? _x : _y );
}