X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fmath%2Fnearbyint.c;fp=functions%2Fmath%2Fnearbyint.c;h=675951d73936a3dc33ca375ddf27dd1f8d5af759;hb=dcc8a8e99f69e090a03b7b868443addbc0817820;hp=0000000000000000000000000000000000000000;hpb=e794d9887cd8f94befd7861e39eccf46666c89fe;p=pdclib.old diff --git a/functions/math/nearbyint.c b/functions/math/nearbyint.c new file mode 100644 index 0000000..675951d --- /dev/null +++ b/functions/math/nearbyint.c @@ -0,0 +1,19 @@ +// ---------------------------------------------------------------------------- +// $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 */ }; + +// ---------------------------------------------------------------------------- +// Standard C + +double nearbyint( double x ) { /* TODO */ }; +float nearbyintf( float x ) { /* TODO */ }; +long double nearbyintl( long double x ) { /* TODO */ };