X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fmath%2Fabs.c;fp=functions%2Fmath%2Fabs.c;h=0000000000000000000000000000000000000000;hb=94cec7268060142c361c882c0a54d4b0052a591c;hp=0dae242f025b8e99f597e9953e33041e1d172131;hpb=c8f799d852e3698468a78954d82588e841cc0b70;p=pdclib.old diff --git a/functions/math/abs.c b/functions/math/abs.c deleted file mode 100644 index 0dae242..0000000 --- a/functions/math/abs.c +++ /dev/null @@ -1,31 +0,0 @@ -/* ---------------------------------------------------------------------------- - * $Id$ - * ---------------------------------------------------------------------------- - * Public Domain C Library - http://pdclib.sourceforge.net - * This code is Public Domain. Use, modify, and redistribute at will. - * --------------------------------------------------------------------------*/ - -double fabs( double x ) { /* TODO */ }; - -/* Therx code -{ - return ( x < 0 ) ? -x : x; -} -*/ - -/* PDPC code - unreviewed -{ - if (x < 0.0) - { - x = -x; - } - return (x); -} -*/ - -float fabsf( float x ) { /* TODO */ }; -long double fabsl( long double x ) { /* TODO */ }; - -int abs( int i ) { /* TODO */ }; -long long llabs( long long i ) { /* TODO */ }; -long labs( long i ) { /* TODO */ };