Ew, count with integral types, not doubles.
ie,
> ? (obviously with correct notation)Code:int i = 0; double x = 0.0; for(i = 0; i < 10; i++) { x = (double) (i + 1); /* ... */ }
Yes
Ew, count with integral types, not doubles.
ie,
> ? (obviously with correct notation)Code:int i = 0; double x = 0.0; for(i = 0; i < 10; i++) { x = (double) (i + 1); /* ... */ }
Yes