NAME
fdim, fdimf, fdiml - positive difference
SYNOPSIS
#include <math.h>
I double fdim(double x , double y );
I float fdimf(float x , float y );
I long double fdiml(long double x , long double y );
Compile with -std=c99; link with -lm.
DESCRIPTION
These functions return max(x-y,0).
If
x
or
y
or both are NaN, Nan is returned.
CONFORMING TO
C99
SEE ALSO