]> pd.if.org Git - pdclib/blobdiff - functions/math/round.c
Added template implementation files.
[pdclib] / functions / math / round.c
diff --git a/functions/math/round.c b/functions/math/round.c
new file mode 100644 (file)
index 0000000..bf0a321
--- /dev/null
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------
+// $Id$
+// ----------------------------------------------------------------------------
+// Public Domain C Library - http://pdclib.sourceforge.net
+// This code is Public Domain. Use, modify, and redistribute at will.
+// ----------------------------------------------------------------------------
+
+// ----------------------------------------------------------------------------
+// C++
+
+long long llround( float x ) { /* TODO */ };
+long long llround( long double x ) { /* TODO */ };
+long lround( float x ) { /* TODO */ };
+long lround( long double x ) { /* TODO */ };
+float round( float x ) { /* TODO */ };
+long double round( long double x ) { /* TODO */ };
+
+// ----------------------------------------------------------------------------
+// Standard C
+
+long long llround( double x ) { /* TODO */ };
+long long llroundf( float x ) { /* TODO */ };
+long long llroundl( long double x ) { /* TODO */ };
+long lround( double x ) { /* TODO */ };
+long lroundf( float x ) { /* TODO */ };
+long lroundl( long double x ) { /* TODO */ };
+double round( double x ) { /* TODO */ };
+float roundf( float x ) { /* TODO */ };
+long double roundl( long double x ) { /* TODO */ };