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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.120.106 with SMTP id lb10mr21960179obb.24.1454835016980; Sun, 07 Feb 2016 00:50:16 -0800 (PST) X-Received: by 10.182.153.2 with SMTP id vc2mr378700obb.11.1454835016953; Sun, 07 Feb 2016 00:50:16 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!proxad.net!feeder1-2.proxad.net!209.85.213.215.MISMATCH!o2no2830540iga.0!news-out.google.com!kr2ni9031igb.0!nntp.google.com!hb3no1643714igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 7 Feb 2016 00:50:16 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:1205:c690:5a50:e5ce:d8f3:1fa3:9c91; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:1205:c690:5a50:e5ce:d8f3:1fa3:9c91 References: <02241ec4-0f95-4f63-9abc-092f167eb59e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada package registry? From: gautier_niouzes@hotmail.com Injection-Date: Sun, 07 Feb 2016 08:50:16 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:29393 Date: 2016-02-07T00:50:16-08:00 List-Id: Regarding the U2200 machine I think it's OK. The type in question is: min_bits: constant:= Integer'Max(32, System.Word_Size); -- 13.3(8): A word is the largest amount of storage that can be -- conveniently and efficiently manipulated by the hardware, -- given the implementation's run-time model. type Integer_M32 is range -2**(min_bits-1) .. 2**(min_bits-1) - 1; -- We define an Integer type which is at least 32 bits, but n bits -- on a native n > 32 bits architecture (no performance hit on 64+ -- bits architectures). You say: "The lower bound would have to be -2**(min_bits-1)-1 on such a machine.". Since -2**(min_bits-1) > -2**(min_bits-1)-1, Integer_M32 is a subrange of what you mean and it should be OK. I let you the pleasure of trying the actual compilation for the U2200. I wait with excitement for the results ;-). _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada NB: follow the above link for a valid e-mail address