[comp.lang.c] x++ !=

am@cl.cam.ac.uk (Alan Mycroft) (03/01/88)

In article <4030@megaron.arizona.edu> mike@arizona.edu (Mike Coffin) writes:
>A simple way to understand the postincrement operator is to note that
>(x++) is equivalent to ((x += 1) - 1).

Not if x is a floating type.
Probably also not if x is a signed integral type and has a 'sticky'
overflow value (but then the program is undefined anyway).