Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!brl-smoke!smoke!cottrell@NBS-VMS.ARPA From: cottrell@NBS-VMS.ARPA (COTTRELL, JAMES) Newsgroups: net.lang.c Subject: Integer Division Message-ID: <1082@brl-smoke.ARPA> Date: Tue, 18-Feb-86 19:12:35 EST Article-I.D.: brl-smok.1082 Posted: Tue Feb 18 19:12:35 1986 Date-Received: Wed, 19-Feb-86 20:41:46 EST Sender: news@brl-smoke.ARPA Lines: 20 /* > I have no objection, but *always* there should be one non-screwed-up > definition. I looked in the C manual expecting to find the following caveat: " The % operator is whatever is left in the `remainder' register by the particular divide instruxion used on the host computer" It was not there. As a working definition, consider it said. I too prefer the positive remainder definition. However, as Walter Cronkite would say, "And that's the way it is". Programming around that fact can be done trivially & portably. Nuff Said, jim cottrell@nbs */ ------