Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: int divided by unsigned. Message-ID: <10457@smoke.BRL.MIL> Date: 27 Jun 89 08:23:06 GMT References: <1549@frog.UUCP> <13958@lanl.gov> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <13958@lanl.gov> jlg@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.