FDIM(3)

NAME
1.19 `fdim', `fdimf'-positive difference

SYNOPSIS
     #include <math.h>
     double fdim(double X, double Y);
     float fdimf(float X, float Y);

DESCRIPTION
The `fdim' functions determine the positive difference between their arguments, returning:
         X - Y    if X > Y, or
         +0    if X <= Y, or
         NAN    if either argument is NAN.
   A range error may occur.

RETURNS
The `fdim' functions return the positive difference value.

PORTABILITY
ANSI C, POSIX.

SEE ALSO
fdim is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.