top | item 11655271

(no title)

dsfuoi | 9 years ago

It looks easy but it isn't.

The second example causes unexpected behavior (and probably ub later) if: min + step > MIN_TYPE_MAX

The last example causes undefined behavior if: max - min < step - 1.

discuss

order

No comments yet.