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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: RFC: Generic Fixed-Point IIR Filter Date: Thu, 26 Mar 2015 13:37:18 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <2c2ee86e-b9bd-49e3-aa7f-206f3c4da95e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 26 Mar 2015 20:36:28 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="3f77efd256cd7097938236a53a6861ee"; logging-data="14155"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AgaLbPbkd2aaKSAK9DLH/CZjgbxijYQE=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <2c2ee86e-b9bd-49e3-aa7f-206f3c4da95e@googlegroups.com> Cancel-Lock: sha1:jwLrOhK6PZoenmPX2wZGpTHWpZA= Xref: news.eternal-september.org comp.lang.ada:25271 Date: 2015-03-26T13:37:18-07:00 List-Id: On 03/26/2015 12:44 PM, Patrick Noffke wrote: > > How is universal_fixed (likely) implemented on a 32-bit processor? What > happens if you multiply two fixed-point types that use all 32-bits for range > and precision? What if one type uses all the bits for the range and another > uses all the bits for precision? I refer you to ARM 3.4.1(7): "The set of values of a universal type is the undiscriminated union of the set of values possible for any definable type in the associated class." So universal_fixed has to be able to handle any value of any fixed-point type definition. -- Jeff Carter "Since I strongly believe that overpopulation is by far the greatest problem in the world, this [Soylent Green] would be my only message movie." Charleton Heston 123