Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site valid.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!decwrl!pyramid!pesnta!valid!pete From: pete@valid.UUCP (Pete Zakel) Newsgroups: net.math,net.lang.c,net.arch Subject: Re: Integer division Message-ID: <151@valid.UUCP> Date: Thu, 27-Feb-86 18:32:03 EST Article-I.D.: valid.151 Posted: Thu Feb 27 18:32:03 1986 Date-Received: Wed, 5-Mar-86 05:48:00 EST References: <11603@ucbvax.BERKELEY.EDU> <4917@alice.UUCP> <367@mcgill-vision.UUCP> <11740@ucbvax.BERKELEY.EDU> Organization: Valid Logic, San Jose, CA Lines: 10 Xref: watmath net.math:2924 net.lang.c:8061 net.arch:2700 > Is there someone out there who *wants* a/b to round towards 0 (for reasons > that say that is the desired result)? I asked that before and have not seen > any affirmatives. > > ucbvax!brahms!weemba Matthew P Wiener/UCB Math Dept/Berkeley CA 94720 I do! Mainly because I want the absolute value of (-a)/b to equal the absolute value of a/b. -- -Pete Zakel (..!{hplabs,amd,pyramid,ihnp4}!pesnta!valid!pete)