Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!utah-cs!utah-gr!thomas From: thomas@utah-gr.UUCP (Spencer W. Thomas) Newsgroups: net.lang.c,net.arch Subject: Re: Integer division Message-ID: <1671@utah-gr.UUCP> Date: Tue, 4-Feb-86 19:52:55 EST Article-I.D.: utah-gr.1671 Posted: Tue Feb 4 19:52:55 1986 Date-Received: Thu, 6-Feb-86 21:03:45 EST References: <11603@ucbvax.BERKELEY.EDU> <4917@alice.UUCP> <11671@ucbvax.BERKELEY.EDU> Reply-To: thomas@utah-gr.UUCP (Spencer W. Thomas) Organization: University of Utah, Salt Lake City Lines: 7 Xref: watmath net.lang.c:7774 net.arch:2468 At least C calls it '%', and not 'MOD', as in Pascal. Unless someone tells you that % means MOD, you have some small chance of realizing that it might not do exactly what you want. I would still rather have (-1)/1000000000000 = 0, not -1. -- =Spencer ({ihnp4,decvax}!utah-cs!thomas, thomas@utah-cs.ARPA)