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

8 lines
101 B
C
Raw Normal View History

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