I have this code:
#include <stdio.h>
int main(void)
{
float c = 100.001000;
printf("%f\n",c);
return 0;
}
But result is:
100.000999
Why this happen? Where is rule for this result in C standards?
I have this code:
#include <stdio.h>
int main(void)
{
float c = 100.001000;
printf("%f\n",c);
return 0;
}
But result is:
100.000999
Why this happen? Where is rule for this result in C standards?