Path: utzoo!utgpu!attcan!uunet!husc6!cmcl2!rutgers!apple!voder!pyramid!decwrl!megatest!djones From: djones@megatest.UUCP (Dave Jones) Newsgroups: comp.lang.c Subject: Re: DIV and MOD ( was: Something IBM di Message-ID: <994@goofy.megatest.UUCP> Date: 10 Nov 88 05:01:41 GMT References: <225800089@uxe.cso.uiuc.edu> Organization: Megatest Corporation, San Jose, Ca Lines: 20 From article <225800089@uxe.cso.uiuc.edu>, by mcdonald@uxe.cso.uiuc.edu: [ Description of one's complement arithmetic omited. } > Perhaps you are unfamiliar with this > relatively common method. On some machines -1 >> 1 == -1, but not > all machines - and not necessarily in ANSI C. > > > :-) :-) :-) Nah. I'm familiar with it. I just thought maybe if I closed my eyes, it would go away, along with all those communist-inspired negative remainders. Here. Have a smiley on me: :-) Dave J.