X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fmath%2Fnearbyint.c;fp=functions%2Fmath%2Fnearbyint.c;h=675951d73936a3dc33ca375ddf27dd1f8d5af759;hp=0000000000000000000000000000000000000000;hb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;hpb=34b76b9d65477be9c7d35cd254f44be85b3786b4 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 */ };