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 copysign( double x, double y ) { /* TODO */ };
14 return ( x < 0 ) ? x : -x;
18 return ( x < 0 ) ? -x : x;
22 float copysignf( float x, float y ) { /* TODO */ };
23 long double copysignl( long double x, long double y ) { /* TODO */ };