summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex/math/fdimf.c
blob: 02bfc6e5e7556a7ff7caca54b0a970d1de19e2e5 (plain)
1
2
3
4
5
6
7
#include <math.h>

float
fdimf (float x, float y)
{
  return  (isgreater(x, y) ? (x - y) : 0.0F);
}