newlib-cygwin/winsup/mingw/mingwex/math/fminf.c

8 lines
118 B
C

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