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

8 lines
100 B
C

#include <math.h>
float
fdimf (float x, float y)
{
return (isgreater(x, y) ? (x - y) : 0.0F);
}