kolibrios-fun/programs/develop/libraries/newlib/math/fdim.c

8 lines
108 B
C
Raw Normal View History

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