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

8 lines
119 B
C

#include <math.h>
double
fmin (double _x, double _y)
{
return ((islessequal(_x, _y) || __isnan (_y)) ? _x : _y );
}