Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
cs_relational_multistep
cs_relational_multistep

Compliant Solution (Relational

...

Operators)

Using the relational operator <= instead of an equality operator guarantees loop termination.

...

Anchor
cs_relational
cs_relational

Compliant Solution (Relational

...

Operators)

Again, using a relational operator instead of equivalence guarantees loop termination. If begin >= end the loop never executes its body.

...