Thank you, I did not know that float can be strange even if they are small...
> while (1.e-10 < i) { ... } Unfortunately 1.e-10 is not equal to 0; That`s why i can "increment" with d += 0.1 up to 0 even if -0.1 is the point I wanted to stop. while still looks ugly Thank you Wilhelm Korrengk _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus