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

8 lines
123 B
C

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