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