Path: csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Good hash for pointers Date: Thu, 30 May 2024 19:26:55 -0700 Organization: A noiseless patient Spider Lines: 17 Message-ID: <86wmnapvgw.fsf@linuxsc.com> References: <86fru6gsqr.fsf@linuxsc.com> <8634q5hjsp.fsf@linuxsc.com> <86le3wfsmd.fsf@linuxsc.com> <86ed9ofq14.fsf@linuxsc.com> <87ikyyntae.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Fri, 31 May 2024 04:26:56 +0200 (CEST) Injection-Info: dont-email.me; posting-host="75c895ee66ef08392f27be5b3e8de353"; logging-data="2173897"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UUWiSEt5xenpXOHeS1p3B6iQ1Ftjn//0=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:/KsJUqfydcNAGg+SRoiEbJ9+hUI= sha1:V1rXZo4hMMp/NFkTtkxCjKnM0P4= Xref: csiph.com comp.lang.c:385338 Bonita Montero writes: > Am 28.05.2024 um 12:07 schrieb Ben Bacarisse: > >> Bonita Montero writes: >> >>> This shows the perfect equal distribution if I take a 32 bit integer >>> and multiply it by the largest 32 bit prime: >> >> There was no need to write this program. It just illustrates a specific >> example of a basic theorem where the multiplier and modulus are >> co-prime. > > For Tim it was necessary. No it was not. I already understood this before my posting of Sunday, May 26.