2 ms·
> ...well-accepted definition of "iteration"... To say or perform again; repeat. synonym: repeat. To utter or do again; repeat: as, to iterate an advice or a d
by jonsen 6y ago
> ...well-accepted definition of "iteration"...
To say or perform again; repeat. synonym: repeat.
To utter or do again; repeat: as, to iterate an advice or a demand.
Repeated.
So x+1 times is x iterations.
- user-the-name 6y agoI don't think I have ever heard a programmer say that running a piece of code two times is "one iteration".
- jonsen 6y agoBut they can say both of: - From 1 to 10 there is 9 - From 1 to 10 there is 10 How far from 0 to INT_MIN - it depends.
- user-the-name 6y agoNone of that affects the fact that if a loop runs 10 times, all programmers will say that it ran for 10 iterations.
- jonsen 6y agoYes. My point here is that Thorrez at the start of this thread may have a point: Start 0 1. iteration -1 2. iteration -2 3. iteration -3 ... at the end of the |INT_MIN|’th iteration INT_MIN
- wruza 6y agoYou may define or argue that it is, but it's not a common sense for anyone.
- jonsen 6y agoAgree regarding programming. But this could be common sense: Start 0 1. iteration -1 2. iteration -2 3. iteration -3 ... at the end of the |INT_MIN|’th iteration INT_MIN
- deleted 6y ago[deleted]