]> pd.if.org Git - pdclib/blob - functions/math/trunc.c
Re-import from Subversion.
[pdclib] / functions / math / trunc.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 double trunc( double x ) { /* TODO */ };
9
10 /* Therx code
11 {
12     return (int) x;
13 }
14 */
15
16 float truncf( float x ) { /* TODO */ };
17 long double truncl( long double x ) { /* TODO */ };