[net.lang.c] bug in type conversion

dmr@research.UUCP (01/04/84)

Mike O'Brien points out that in the C compilers he has available, the
expression
	i *= d;
where  i  is int and  d  is double is evaluated in fixed point, and
wonders why.  The answer: it is a compiler bug.  I fixed it in
(a post V7 version) of the 11 compiler, and it is fixed in the current
System V compiler (by "current" I mean the one I tried;
I don't know what is being shipped at this instant.)

The manual is reasonably clear and unambiguous on the point, but
it's not surprising that people for search for definition problems when
the compilers are unanimously wrong.

		Dennis Ritchie