GNU/Linux |
CentOS 4.8 |
i386 |
fdimf(3) |
fdim, fdimf, fdiml − positive difference
#include <math.h>
double fdim(double x, double y);
float fdimf(float x, float y);
long double fdiml(long double x, long double y);
These functions return max(x-y,0). If x or y or both are NaN, Nan is returned.
C99
fmax(3)
fdimf(3) |