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,751584f55705ddb7 X-Google-Attributes: gid103376,public From: stt@henning.camb.inmet.com (Tucker Taft) Subject: Re: Side-effect arithmetic again [was: Ada ... in embedded systems] Date: 1996/03/29 Message-ID: #1/1 X-Deja-AN: 144862836 sender: news@inmet.camb.inmet.com (USENET news) x-nntp-posting-host: henning.camb.inmet.com references: organization: Intermetrics, Inc. newsgroups: comp.lang.ada Date: 1996-03-29T00:00:00+00:00 List-Id: Tucker Taft (stt@henning.camb.inmet.com) wrote: : Oops! I was reading the original line of "Item'Pos(This) + By" instead : of the suggested replacement. In the suggested replacement, : where both operands are the result of 'Pos, the "preference" : rule for root numeric types (8.6(14)) will mean that they will both Oops oops -------------------------^^ should be (29) : be converted to root_integer, whose run-time base range is : defined to be System.Min_Int .. System.Max_Int. : See RM95 8.6(29) and 3.5.4(14). -Tucker Taft stt@inmet.com http://www.inmet.com/~stt/ Intermetrics, Inc. Cambridge, MA USA