]> pd.if.org Git - pdclib/blobdiff - functions/math/remainder.c
Re-import from Subversion.
[pdclib] / functions / math / remainder.c
index a12aaa970651842fd807bedf589fea6a6f92ece3..170cae210d38a3de11dcbbb68884ca5ad4396980 100644 (file)
@@ -1,19 +1,17 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
+/* ----------------------------------------------------------------------------
+ * $Id$
+ * ----------------------------------------------------------------------------
+ * Public Domain C Library - http://pdclib.sourceforge.net
+ * This code is Public Domain. Use, modify, and redistribute at will.
+ * --------------------------------------------------------------------------*/
 
-// ----------------------------------------------------------------------------
-// C++
-
-float remainder( float x, float y ) { /* TODO */ };
-long double remainder( long double x, long double y ) { /* TODO */ };
+double remainder( double x, double y ) { /* TODO */ };
 
-// ----------------------------------------------------------------------------
-// Standard C
+/* Therx code
+{
+    return fmod( x, y );
+}
+*/
 
-double remainder( double x, double y ) { /* TODO */ };
 float remainderf( float x, float y ) { /* TODO */ };
 long double remainderl( long double x, long double y ) { /* TODO */ };