i = i * f *vs* i *= f (Not a b - (nf)
jim at ism780.UUCP
jim at ism780.UUCP
Sun Apr 22 15:03:07 AEST 1984
#R:ecsvax:-231000:ism780:12500003:000:539
ism780!jim Apr 20 18:30:00 1984
As Dennis Ritchie pointed out the last time this came up (quite recently),
it is a bug, and it is amazing how hard people will try to convince
themselves and others that the compiler must be right, even though the
manual clearly says that "l op= r" is equivalent to "l = l op r", except
that l is only evaluated once (which means that if l has side-effects,
they only happen once; how this can be interpreted as meaning that
conversions should happen differently is beyond me).
-- Jim Balter, Interactive Systems (decvax!yale-co!ima!jim)
More information about the Comp.lang.c
mailing list