comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: Question about "for X'Size use ..."
Date: 10 Aug 2001 10:11:45 -0700
Date: 2001-08-10T17:11:46+00:00	[thread overview]
Message-ID: <5ee5b646.0108100911.1e1b02fb@posting.google.com> (raw)
In-Reply-To: 871ymk480x.fsf@deneb.enyo.de

Florian Weimer <fw@deneb.enyo.de> wrote in message news:<871ymk480x.fsf@deneb.enyo.de>...
> (I think that AI 270 is pointless.  Stream_Size won't give any
> additional portability unless the order of stream elements can be
> controlled, and the method of storing the sign, and the situations
> were the range of type neither is not symmetric around zero.)

You are missing a lot here!

Indeed AI 270 is quite significant in achieving interoperability,
and was motivated by the fact that compilers were not interoperable
before (because of unexpectedly large base types), and now they
are. The mention of storing the sign is a bit bogus, given that
virtually all machines are twos complement now. More importantly
you now get complete interoperability for the type

   type x is range 0 .. 255;
   for x'size use 8;

which was not the case before

If you think an AI is pointless, you are probably missing something.
AI's don't get approved without a lot of very well informed highly
skeptical perusal and discussion by the ARG :-)



  parent reply	other threads:[~2001-08-10 17:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-09 17:02 Question about "for X'Size use ..." Darren New
2001-08-09 17:37 ` Florian Weimer
2001-08-09 22:39   ` Robert Dewar
2001-08-10  8:46     ` Florian Weimer
2001-08-10 10:36       ` Larry Kilgallen
2001-08-10 13:15         ` Question about Ted Dennison
2001-08-10 13:54           ` Larry Kilgallen
2001-08-10 17:09         ` Question about "for X'Size use ..." Robert Dewar
2001-08-10 17:11       ` Robert Dewar [this message]
2001-08-10 20:25         ` Florian Weimer
2001-08-10 21:43           ` Larry Kilgallen
2001-08-10 20:58             ` Toshitaka KUMANO
2001-08-10 14:46 ` john mann
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox