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.6 required=5.0 tests=BAYES_05,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ccb707f4c91a5f2 X-Google-Attributes: gid103376,public From: Alan Brain Subject: Re: Java vs Ada 95 (Was Re: Once again, Ada absent from DoD SBIR solicitation) Date: 1996/10/20 Message-ID: <326AEC12.6DD0@dynamite.com.au>#1/1 X-Deja-AN: 190720282 references: <325D7F9B.2A8B@gte.net> <3266DC85.D45@dynamite.com.au> content-type: text/plain; charset=us-ascii organization: @Home mime-version: 1.0 reply-to: aebrain@dynamite.com.au newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (Win16; I) Date: 1996-10-20T00:00:00+00:00 List-Id: Keith Thompson wrote: > > > If you really have to have 32 bits, just use > > > > type INTEGER_32 is new INTEGER; > > for INTEGER_32'size use 32; > > Um, no. > > type Integer_32 is range -2**31 .. +2**31-1; > > Your version assumes that Integer is at least 32 bits. This is true > for many but not all implementations. By George, the man's right. ---------------------- <> <> How doth the little Crocodile | Alan & Carmel Brain| xxxxx Improve his shining tail? | Canberra Australia | xxxxxHxHxxxxxx _MMMMMMMMM_MMMMMMMMM ---------------------- o OO*O^^^^O*OO o oo oo oo oo By pulling Maerklin Wagons, in 1/220 Scale