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 ceil( double x ) { /* TODO */ };
12 return ( x < 0 ) ? (int) x : ( (int) x ) + 1;
16 /* PDPC code - unreviewed
29 float ceilf( float x ) { /* TODO */ };
30 long double ceill( long double x ) { /* TODO */ };