newlib/winsup/mingw/mingwex/math/fdimf.c

8 lines
100 B
C

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