Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: Fast multi byte read and write words Date: Fri, 27 Nov 2015 10:23:41 -0800 Organization: A noiseless patient Spider Lines: 6 Message-ID: <87r3jbcnde.fsf@nightsong.com> References: <41011776-bc7b-4037-9582-020aad7ad129@googlegroups.com> <87ziy0czg8.fsf@nightsong.com> <11f48000-b630-4939-bbbc-e597c89dfa86@googlegroups.com> <87vb8ocx2b.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="d09d25b6b873a1567c8bb21cd9fda25b"; logging-data="13319"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GYi5zFTDofwaOkmTX0PW/" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:8dhyLwOY2EcTf+RPiNiYzpS3bIU= sha1:H/2bAKV19cJvqia8OovU9QJKwwk= Xref: csiph.com comp.lang.forth:43877 Bernd Paysan writes: > Probably a precomputed answer. No you can ask for pi(x) for arbitrary x in that range, and get the answer pretty quick. The Wikipedia page gives algorithms that should be able to do it.