]> pd.if.org Git - pdclib/blobdiff - functions/math/remainder.c
Introducing personalities. Removing C++ function decs / defs.
[pdclib] / functions / math / remainder.c
index a12aaa970651842fd807bedf589fea6a6f92ece3..08f167adf71ae072abf89002ca9f0c5a6a3e3bd4 100644 (file)
@@ -5,15 +5,13 @@
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
 
-// ----------------------------------------------------------------------------
-// C++
+double remainder( double x, double y ) { /* TODO */ };
 
-float remainder( float x, float y ) { /* TODO */ };
-long double remainder( long double x, long double y ) { /* TODO */ };
+/* Therx code
+{
+    return fmod( x, y );
+}
+*/
 
-// ----------------------------------------------------------------------------
-// Standard C
-
-double remainder( double x, double y ) { /* TODO */ };
 float remainderf( float x, float y ) { /* TODO */ };
 long double remainderl( long double x, long double y ) { /* TODO */ };