Код: Выделить всё
float f = 0.7;
if( f == 0.7 )
printf("equal");
else
printf("not equal");
Почему это происходит?
Подробнее здесь: https://stackoverflow.com/questions/183 ... at-literal
Код: Выделить всё
float f = 0.7;
if( f == 0.7 )
printf("equal");
else
printf("not equal");