FDIM(3) Linux Programmers Manual FDIM(3)
NAME
fdim, fdimf, fdiml - positive difference
SYNOPSIS
#include
double fdim(double x, double y);
float fdimf(float x, float y);
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
fmax(3)
COLOPHON
This page is part of release 3.05 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2003-07-24 FDIM(3)
|