From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7d533acec91ae16 X-Google-Attributes: gid103376,public From: David Brown Subject: Re: Question for the folks who designed Ada95 Date: 1999/04/30 Message-ID: #1/1 X-Deja-AN: 472759529 Sender: davidb@opus.davidb.org References: <7g2qu4$ca4$1@usenet.rational.com> <7g6upj$v5c$1@nnrp1.dejanews.com> <3727EC39.E460C803@rocketmail.com> <7g9r16$gll$1@nnrp1.dejanews.com> <925410775.940.21@news.remarQ.com> X-Complaints-To: abuse@pacbell.net X-Trace: typhoon-sf.snfc21.pbi.net 925488927 216.103.8.60 (Fri, 30 Apr 1999 09:15:27 PDT) Organization: David Brown Services NNTP-Posting-Date: Fri, 30 Apr 1999 09:15:27 PDT Newsgroups: comp.lang.ada Date: 1999-04-30T00:00:00+00:00 List-Id: >>>>> On Thu, 29 Apr 1999 18:32:55 GMT, fraser@synopsys.com (Fraser Wilson) said: > Here's a question: has anyone ever used a modular type which was not > a power of 2, and lived to tell the tale? What was the context? DSP algorithms. Filters can be all sorts of sizes. The modulus type makes it easy to walk through the buffer by just adding. Unfortunately, they aren't dynamic, so if you need a filter that can work with dynamically sized filters, they don't work anyway. Dave Brown dlbrown@acm.org