]> pd.if.org Git - pdclib/blob - functions/math/round.c
Re-import from Subversion.
[pdclib] / functions / math / round.c
1 /* ----------------------------------------------------------------------------
2  * $Id$
3  * ----------------------------------------------------------------------------
4  * Public Domain C Library - http://pdclib.sourceforge.net
5  * This code is Public Domain. Use, modify, and redistribute at will.
6  * --------------------------------------------------------------------------*/
7
8 long long llround( double x ) { /* TODO */ };
9 long long llroundf( float x ) { /* TODO */ };
10 long long llroundl( long double x ) { /* TODO */ };
11 long lround( double x ) { /* TODO */ };
12 long lroundf( float x ) { /* TODO */ };
13 long lroundl( long double x ) { /* TODO */ };
14 double round( double x ) { /* TODO */ };
15
16 /* Therx code
17 {
18     return (int) ( x + 0.5 );
19 }
20 */
21
22 float roundf( float x ) { /* TODO */ };
23 long double roundl( long double x ) { /* TODO */ };