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!feeder.eternal-september.org!gegeweb.org!news.ecp.fr!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada package registry? Date: Mon, 8 Feb 2016 16:58:57 -0600 Organization: JSA Research & Innovation Message-ID: References: <02241ec4-0f95-4f63-9abc-092f167eb59e@googlegroups.com> NNTP-Posting-Host: rrsoftware.com X-Trace: loke.gir.dk 1454972339 16493 24.196.82.226 (8 Feb 2016 22:58:59 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 8 Feb 2016 22:58:59 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: news.eternal-september.org comp.lang.ada:29446 Date: 2016-02-08T16:58:57-06:00 List-Id: wrote in message news:dbd56a53-7a9c-4707-8d6d-0156174f7263@googlegroups.com... > 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 ;-). Since we didn't implement stream attributes until after that project petered out, it sadly wouldn't prove anything. But I know I say String'Read in there somewhere, and the 9-bit Size for Character on the U2200 would have interesting effects. It really doesn't make sense to run those programs on the U2200 anyway; no browsers or that sort of thing there. They had a POSIX emulator, but that was about as modern as it got. Randy.