-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
+/* ----------------------------------------------------------------------------
+ * $Id$
+ * ----------------------------------------------------------------------------
+ * Public Domain C Library - http://pdclib.sourceforge.net
+ * This code is Public Domain. Use, modify, and redistribute at will.
+ * --------------------------------------------------------------------------*/
-// ----------------------------------------------------------------------------
-// C++
-
-float nearbyint( float x ) { /* TODO */ };
-long double nearbyint( long double x ) { /* TODO */ };
+double nearbyint( double x ) { /* TODO */ };
-// ----------------------------------------------------------------------------
-// Standard C
+/* Therx code
+{
+ return round( x );
+}
+*/
-double nearbyint( double x ) { /* TODO */ };
float nearbyintf( float x ) { /* TODO */ };
long double nearbyintl( long double x ) { /* TODO */ };