X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fmath%2Ffloor.c;fp=functions%2Fmath%2Ffloor.c;h=0000000000000000000000000000000000000000;hb=94cec7268060142c361c882c0a54d4b0052a591c;hp=7d62107e17f7bac1332d38c7a7ae197aa00c16b7;hpb=c8f799d852e3698468a78954d82588e841cc0b70;p=pdclib.old diff --git a/functions/math/floor.c b/functions/math/floor.c deleted file mode 100644 index 7d62107..0000000 --- a/functions/math/floor.c +++ /dev/null @@ -1,37 +0,0 @@ -/* ---------------------------------------------------------------------------- - * $Id$ - * ---------------------------------------------------------------------------- - * Public Domain C Library - http://pdclib.sourceforge.net - * This code is Public Domain. Use, modify, and redistribute at will. - * --------------------------------------------------------------------------*/ - -double floor( double x ) { /* TODO */ }; - -/* Therx code -{ - return ( x > 0 ) ? (int) x : (int) ( x - 0.9999999999999999 ); -} -*/ - -/* PDPC code - unreviewed -{ - int y; - - if (x < 0.0) - { - y = (int)fabs(x); - if ((double)y != x) - { - y--; - } - } - else - { - y = (int)x; - } - return ((double)x); -} -*/ - -float floorf( float x ) { /* TODO */ }; -long double floorl( long double x ) { /* TODO */ };