1FDIM(3)                          math routines                         FDIM(3)
2
3
4

NAME

6       fdim, fdimf, fdiml - positive difference
7

SYNOPSIS

9       #include <math.h>
10
11       double fdim(double x, double y);
12       float fdimf(float x, float y);
13       long double fdiml(long double x, long double y);
14
15       Compile with -std=c99; link with -lm.
16

DESCRIPTION

18       These  functions  return max(x-y,0).  If x or y or both are NaN, Nan is
19       returned.
20

CONFORMING TO

22       C99
23

SEE ALSO

25       fmax(3)
26
27
28
29                                  2003-07-24                           FDIM(3)
Impressum