Xref: utzoo comp.theory:357 comp.misc:8247 comp.lang.misc:4174 Path: utzoo!attcan!uunet!deimos!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!psuvax1!news From: flee@shire.cs.psu.edu (Felix Lee) Newsgroups: comp.theory,comp.misc,comp.lang.misc Subject: Re: Modulus (Re: hashing function for strings) Message-ID: Date: 21 Feb 90 15:38:20 GMT References: <2367@castle.ed.ac.uk> <12077@goofy.megatest.UUCP> Sender: news@cs.psu.edu (Usenet) Organization: Penn State University Computer Science Lines: 7 Dave Jones wrote: >I differ. The first of these, -5 div 3 == -1 is wrong. The contrary view is that abs(a/b) != abs(-a/b) is strange. It depends on what you're doing. I have no problems with either stance. -- Felix Lee flee@shire.cs.psu.edu *!psuvax1!flee