comp.lang.ada
 help / color / mirror / Atom feed
From: jeffrey.m.creem@lmco.com (Jeff Creem)
Subject: Re: Ada 95 Numerics questions for the experts
Date: 1997/08/28
Date: 1997-08-28T00:00:00+00:00	[thread overview]
Message-ID: <jeffrey.m.creem-2808971646340001@ljd155.sanders.lockheed.com> (raw)
In-Reply-To: dewar.872745692@merv


In article <dewar.872745692@merv>, dewar@merv.cs.nyu.edu (Robert Dewar) wrote:

>SOunds like a bug to me, since these compilers say they support
>annex C, this means that the implementation advice in chapter 13 (13.2(9))
>
>    9  For a packed array type, if the component subtype's Size is less
>       than or equal to the word size, and Component_Size is not
>       specified for the type, Component_Size should be less than or
>       equal to the Size of the component subtype, rounded up to the
>       nearest factor of the word size.
>
>which of course becomes a requirement if you claim annex C support.
>
>Reading this paragraph, we see that it is OK to round up to 4-bits,
>but certainly not 8-bits.



It was a matter of me misreading the error message. It says that
the specified compontent size 3 is not a factor of 8, rounding to a factor
... Which of read as rouding to a multiple of 8 (multiple/factor boy I
better run back to 2nd grade). 

Even still I think my original (modified by Robert) comment holds that while
the AdaMajic front end meets the requirements of the LRM it does the
minimum needed to meet those requirements in most areas (no support for
Ada 83 only attributes and pragmas) and limited support (although correct)
for rep specs.


Jeff




  reply	other threads:[~1997-08-28  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3401C14B.480@gsfc.nasa.gov>
1997-08-25  0:00 ` Ada 95 Numerics questions for the experts Robert Dewar
     [not found] ` <dewar.872560585@merv>
     [not found]   ` <jcreem-2608970711210001@ljd155.sanders.lockheed.com>
     [not found]     ` <dewar.872630607@merv>
     [not found]       ` <jeffrey.m.creem-2708970802350001@ljd155.sanders.lockheed.com>
1997-08-27  0:00         ` David C. Hoos, Sr.
1997-08-27  0:00           ` Robert Dewar
1997-08-27  0:00           ` Jeff Creem
1997-08-28  0:00             ` Robert Dewar
1997-08-28  0:00               ` Jeff Creem [this message]
1997-08-29  0:00               ` Tucker Taft
1997-08-30  0:00                 ` Robert A Duff
1997-08-31  0:00                 ` Tom Moran
1997-09-01  0:00                 ` Robert Dewar
1997-09-02  0:00                   ` Robert A Duff
1997-09-02  0:00                   ` Fergus Henderson
     [not found]                   ` <mheaney-ya023680000209972104030001@news.ni.net>
1997-09-05  0:00                     ` Robert Dewar
1997-09-05  0:00                       ` Matthew Heaney
1997-09-08  0:00                         ` Robert A Duff
1997-09-08  0:00                           ` Matthew Heaney
1997-09-09  0:00                             ` Robert A Duff
     [not found]                     ` <EFxt94.F5F@world.std.com>
1997-09-06  0:00                       ` Robert Dewar
1997-09-08  0:00                         ` Robert A Duff
1997-09-08  0:00                           ` Matthew Heaney
1997-09-09  0:00                             ` Robert A Duff
1997-09-01  0:00                 ` Robert Dewar
1997-08-27  0:00         ` Robert Dewar
     [not found]           ` <jeffrey.m.creem-2808970708260001@ljd155.sanders.lockheed.com>
1997-08-28  0:00             ` Robert Dewar
1997-08-30  0:00         ` Robert A Duff
replies disabled

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