hi all. here is question:
#include
main()
{
float aa=0.0f;
while(aa<1)
{
aa=aa+0.01;
printf("%f\n",aa);
}
}
so, for sasc after 83.000 i have 83.9999 , for vbcc after 58.000 i have 58.9999. in other words, this float value added not exactly per 0.01. So, how i can anyway use float value but which will works exactly as i need ? Becouse tons of loops buggy over it .. i can of course do if > or if < , but i want to use !=aa.
any help ? thanks.