int divided by unsigned.

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Jun 27 18:23:06 AEST 1989


In article <13958 at lanl.gov> jlg at lanl.gov (Jim Giles) writes:
>... to get the current interpretation, you should have to do: 
>      (unsigned)a /= b
>But, that would require C to do something in a reasonable way - so I
>guess we can forget that.

"Reason" is in the mind of the beholder.  To require that assignment
be allowed to an rvalue strikes me as exceedingly UNreasonable.
C has a definite set of rules governing what happens when types
"collide"; they seem pretty reasonable to me.

If you want a different language, feel free to design one.



More information about the Comp.lang.c mailing list