wtf is hapening ?
//output at -4.5
//-4,9
//-4,8
//-4,7
//-4,6
//-4,5
//-4,400001 <--- this is bullshit makes me angry
C#:
for(float i=-5.0f ; i<5.0f ; i+=0.1f)
Console.WriteLine(i+"\n");
// with while
float r=-5.0f;
while (r < 5.0f)
{
Console.WriteLine(r+"\n");;
r += 0.1f;
}
//-4,9
//-4,8
//-4,7
//-4,6
//-4,5
//-4,400001 <--- this is bullshit makes me angry
Last edited by a moderator: