// This code is Public Domain. Use, modify, and redistribute at will.
// ----------------------------------------------------------------------------
-// ----------------------------------------------------------------------------
-// C++
+double trunc( double x ) { /* TODO */ };
-float trunc( float x ) { /* TODO */ };
-long double trunc( long double x ) { /* TODO */ };
+/* Therx code
+{
+ return (int) x;
+}
+*/
-// ----------------------------------------------------------------------------
-// Standard C
-
-double trunc( double x ) { /* TODO */ };
float truncf( float x ) { /* TODO */ };
long double truncl( long double x ) { /* TODO */ };