]> pd.if.org Git - pdclib/blobdiff - functions/math/nearbyint.c
Merged PDPCLIB and Therx code.
[pdclib] / functions / math / nearbyint.c
index 675951d73936a3dc33ca375ddf27dd1f8d5af759..0b4f29c85f6a797367395922e5df9c52c13c581f 100644 (file)
@@ -15,5 +15,12 @@ long double nearbyint( long double x ) { /* TODO */ };
 // Standard C
 
 double nearbyint( double x ) { /* TODO */ };
+
+/* Therx code
+{
+    return round( x );
+}
+*/
+
 float nearbyintf( float x ) { /* TODO */ };
 long double nearbyintl( long double x ) { /* TODO */ };