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:39:24 -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:38:34 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="3f77efd256cd7097938236a53a6861ee"; logging-data="14155"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UT4cqcv4SqDT28+hBnZ889fopkx7/6rg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: Cancel-Lock: sha1:GMeZJ/SIrPzsuJPGt/JkkiXk9zo= Xref: news.eternal-september.org comp.lang.ada:25272 Date: 2015-03-26T13:39:24-07:00 List-Id: On 03/26/2015 01:34 PM, Randy Brukardt wrote: > > A result of universal-fixed always has to be converted immediately to > another type. It's not legal to use it directly. Specifically, 4.5.5(19.1/2) > says: "The above two fixed-fixed multiplying operators shall not be used in > a context where the expected type for the result is itself universal_fixed > ". So there's always an expected subtype? I thought in a string of operations in an expression, there was no expected type until the conversion of the result to the expected subtype of the entire expression. -- 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