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

8 lines
123 B
C

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