1FDIM(3) math routines FDIM(3)
23
4
NAME
6fdim, fdimf, fdiml - positive difference
7
SYNOPSIS
9#include <math.h>
1011
double fdim(double x, double y);
12float fdimf(float x, float y);
13long double fdiml(long double x, long double y);
1415
Compile with -std=c99; link with -lm.
16
DESCRIPTION
18These functions return max(x-y,0). If x or y or both are NaN, Nan is
19returned.
20
CONFORMING TO
22C99
23
SEE ALSO
25fmax(3)
2627
28
29
2003-07-24 FDIM(3)