A
Adem24
Microsoft's so called programmers write braindamaged programs
and confusing buggy examples and help pages like that below.
It is even from the online "help" (ROTFL! of their "compiler" (ROTFL! :
<CITATION_FROM_THE_MSDN_LIBRARY>
/* FMOD.C: This program displays a
* floating-point remainder.
*/
#include <math.h>
#include <stdio.h>
void main( void )
{
double w = -10.0, x = 3.0, y = 0.0, z;
z = fmod( x, y );
printf( "The remainder of %.2f / %.2f is %f\n", w, x, z );
printf( "The remainder of %.2f / %.2f is %f\n", x, y, z );
}
Output
The remainder of -10.00 / 3.00 is -1.000000
</CITATION_FROM_THE_MSDN_LIBRARY>
ROTFL! ))
ROTFL! ))
ROTFL! ))
and confusing buggy examples and help pages like that below.
It is even from the online "help" (ROTFL! of their "compiler" (ROTFL! :
<CITATION_FROM_THE_MSDN_LIBRARY>
/* FMOD.C: This program displays a
* floating-point remainder.
*/
#include <math.h>
#include <stdio.h>
void main( void )
{
double w = -10.0, x = 3.0, y = 0.0, z;
z = fmod( x, y );
printf( "The remainder of %.2f / %.2f is %f\n", w, x, z );
printf( "The remainder of %.2f / %.2f is %f\n", x, y, z );
}
Output
The remainder of -10.00 / 3.00 is -1.000000
</CITATION_FROM_THE_MSDN_LIBRARY>
ROTFL! ))
ROTFL! ))
ROTFL! ))