4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 19:40:07 +08:00
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 );
}