How can this be true? (<) operator not working
Ältere Kommentare anzeigen
I noticed there had to be a bug in some of my code so I went into the debugger. While in the debugger I noticed a while loop not terminating when it was supposed to. Here is the root of the problem:
increment =
1.0000e-01
K>> increment < .1
ans =
1
How can this be happening?
1 Kommentar
Jason
am 11 Jul. 2011
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 11 Jul. 2011
2 Stimmen
Kategorien
Mehr zu Rubik's Cube finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!