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

8 lines
116 B
C

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