X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fmath%2Fmod.c;fp=functions%2Fmath%2Fmod.c;h=9e002cf4dfc98891ca9f734ff8a92c32eec30824;hb=dcc8a8e99f69e090a03b7b868443addbc0817820;hp=0000000000000000000000000000000000000000;hpb=e794d9887cd8f94befd7861e39eccf46666c89fe;p=pdclib.old diff --git a/functions/math/mod.c b/functions/math/mod.c new file mode 100644 index 0000000..9e002cf --- /dev/null +++ b/functions/math/mod.c @@ -0,0 +1,26 @@ +// ---------------------------------------------------------------------------- +// $Id$ +// ---------------------------------------------------------------------------- +// Public Domain C Library - http://pdclib.sourceforge.net +// This code is Public Domain. Use, modify, and redistribute at will. +// ---------------------------------------------------------------------------- + +// ---------------------------------------------------------------------------- +// C++ + +float fmod( float x, float y ) { /* TODO */ }; +long double fmod( long double x, long double y ) { /* TODO */ }; + +float modf( float x, float * integer ) { /* TODO */ }; +long double modf( long double x, long double * integer ) { /* TODO */ }; + +// ---------------------------------------------------------------------------- +// Standard C + +double fmod( double x, double y ) { /* TODO */ }; +float fmodf( float x, float y ) { /* TODO */ }; +long double fmodl( long double x, long double y ) { /* TODO */ }; + +double modf( double x, double * integer ) { /* TODO */ }; +float modff( float x, float * integer ) { /* TODO */ }; +long double modfl( long double x, long double * integer ) { /* TODO */ };