helloworld.
i run into this problem, trying to get a max value for float, but reach "16777216.000000", if am adding 1, more if I add 10
is this something to do with the registers on CPU?
thx, for ya help.Code:#include <stdio.h>
main()
{
float i;
int j;
i = 0;
j = 0;
while(1)
{
i = i + 1;
j++;
if(j > 10000)
{
printf("%f\n",i);
j= 0;
}
}
}