]> pd.if.org Git - pdclib/blob - functions/math/fdim.c
f87d1cc0f3ff9533f547a3289e8ed67544698015
[pdclib] / functions / math / fdim.c
1 // ----------------------------------------------------------------------------
2 // $Id$
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
7
8 double fdim( double x, double y ) { /* TODO */ };
9
10 /* Therx code
11 {
12     return ( ( x - y ) < 1 ) ? 0 : x - y;
13 }
14 */
15
16 float fdimf( float x, float y ) { /* TODO */ };
17 long double fdiml( long double x, long double y ) { /* TODO */ };