Google
Web www.fiveanddime.net

FDIM

Section: math routines (3)
Updated: 2003-07-24
Index Return to Main Contents
 

NAME

fdim, fdimf, fdiml - positive difference  

SYNOPSIS

#include <math.h>

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)


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFORMING TO
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 00:12:36 GMT, May 13, 2005





www.fiveanddime.net








Google
Web www.fiveanddime.net