From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <775b8d190512161959y26ab76f4w92c3cc4563068823@mail.gmail.com> Date: Sat, 17 Dec 2005 14:59:34 +1100 From: Bruce Ellis To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] More Microsoft bashing In-Reply-To: <6e35c0620512161626w496d9743m3f353824ccb6d7f3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051216050830.GE15067@augusta.math.psu.edu> <4fe40a6eaaea00ef3c10298bb6a642c6@coraid.com> <775b8d190512160713u1e416e4el315f98f9d4e8227d@mail.gmail.com> <775b8d190512160800u11d58e86kb8035ff507ac3d1d@mail.gmail.com> <6e35c0620512161626w496d9743m3f353824ccb6d7f3@mail.gmail.com> Topicbox-Message-UUID: c976fafa-ead0-11e9-9d60-3106f5b1d025 Exactly. If you really need to mod a neg you probably have a bad algorithm. If you need to you can do it portably with a sign check. If you want it to work with more than one compiler you had better expect the expected. The result is undefined. Ken took the pragmatic approach. So do others. brucee On 12/17/05, Jack Johnson wrote: > On 12/16/05, Bruce Ellis wrote: > > Sorry for being relevant to the mailing list. > > And actually, I should probably apologize and clarify. I didn't > intend to be irrelevant. I wanted to bring it up because I had my own > expectations that turned out not to be true, and thought it might > foster good discussion regarding why it is the way it is in Plan 9 and > whether that was a conscious decision or legacy or something else. > > Several people pointed out aspects of mod I hadn't considered--across > the spectrum--so I'm grateful. > > -Jack >