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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,60fe876e7675f11 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.213.68 with SMTP id nq4mr14699992pbc.2.1328636956787; Tue, 07 Feb 2012 09:49:16 -0800 (PST) Path: lh20ni271250pbb.0!nntp.google.com!news2.google.com!news.glorb.com!news.netfront.net!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Weird behavior with modular type Date: Tue, 07 Feb 2012 10:49:14 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: NNTP-Posting-Host: 97.213.15.68 Mime-Version: 1.0 X-Trace: adenine.netfront.net 1328636956 22743 97.213.15.68 (7 Feb 2012 17:49:16 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Tue, 7 Feb 2012 17:49:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: 2012-02-07T10:49:14-07:00 List-Id: On 02/07/2012 10:24 AM, Yannick Duchêne (Hibou57) wrote: > > Seems in the first case, the left‑side of “E < 10 ** I” has a modulo applied, or > else, I see no way to explain the result, "FALSE". But why would this modulo be > applied with a subtype of Natural and not with an Universal_Integer? Seems to me in both cases the expression on the right of "<" is Universal_Integer. What compiler message did you get? -- Jeff Carter "Why, the Mayflower was full of Fireflies, and a few horseflies, too. The Fireflies were on the upper deck, and the horseflies were on the Fireflies." Duck Soup 95 --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---