🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.theory
Article #2071

Re: Modulus (Re: hashing function for strings)

#2071
From: Felix Lee
Date: Wed, 21 Feb 1990 15:38
7 lines
746 bytes
Dave Jones <djones@megatest.UUCP> 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
Technical Details
Message-ID: <Er$cfg@cs.psu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!deimos!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!psuvax1!news
References: <2367@castle.ed.ac.uk> <12077@goofy.megatest.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <Er$cfg@cs.psu.edu>
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