1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
8 double fabs( double x ) { /* TODO */ };
12 return ( x < 0 ) ? -x : x;
16 /* PDPC code - unreviewed
26 float fabsf( float x ) { /* TODO */ };
27 long double fabsl( long double x ) { /* TODO */ };
29 int abs( int i ) { /* TODO */ };
30 long long llabs( long long i ) { /* TODO */ };
31 long labs( long i ) { /* TODO */ };