1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
8 double fmod( double x, double y ) { /* TODO */ };
12 return (int) ( ( ( ( x / y ) - ( (int) ( x / y ) ) ) * y ) + 0.5 );
16 /* PDPC code - unreviewed
22 float fmodf( float x, float y ) { /* TODO */ };
23 long double fmodl( long double x, long double y ) { /* TODO */ };
25 double modf( double x, double * integer ) { /* TODO */ };
26 float modff( float x, float * integer ) { /* TODO */ };
27 long double modfl( long double x, long double * integer ) { /* TODO */ };