comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: 'Base
Date: Thu, 8 Dec 2005 20:27:44 +0000 (UTC)
Date: 2005-12-08T20:27:44+00:00	[thread overview]
Message-ID: <dna4vu$5a6$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com> (raw)
In-Reply-To: <1134069883.535238.218050@g47g2000cwa.googlegroups.com>

Matthew Heaney wrote:
> Martin Dowie wrote:
> 
>>Sorry Matt - you must be ill or something as you're a wee bit "off base"
>>with your answer to this one!
> 
> [snip]
> 
>>It isn't -42 .. 42 but the 'First .. 'Last or the underlying integer
>>representation. In this case (with ObjectAda) -2147483648 to 2147483647.
> 
> 
> 
> I should have said that T'Base'Last is *at least* T'Last, of course it
> can be larger.
> 
> However, this doesn't undermine the my point that you can only depend
> on having the range guanteed by the RM, in this case -42 .. 42.
> 
> So yes it's true that your base type might include all of the values in
> a 32 bit range, but that fact is irrelevant.  The range specified in
> the RM is the only range that matters.

I just don't see that from RM 3.5, esp para 6 - and I've been back to 
Cohen and I can't see that from page 183. I'm no Language Lawer, so 
could you please point this range guarantee out to me in the RM?

I'm having trouble seeing how your definition meets the " it is also the 
range supported at a minimum for intermediate values during the 
evaluation of expressions involving predefined operators of the type." bit.

Cheers

-- Martin



  reply	other threads:[~2005-12-08 20:27 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 15:21 'Base ada_student
2005-12-08 18:08 ` 'Base Matthew Heaney
2005-12-08 18:44   ` 'Base Martin Dowie
2005-12-08 18:49     ` 'Base Martin Dowie
2005-12-08 19:24     ` 'Base Matthew Heaney
2005-12-08 20:27       ` Martin Dowie [this message]
2005-12-08 19:51     ` 'Base Jeffrey R. Carter
2005-12-08 20:07       ` 'Base Matthew Heaney
2005-12-09  2:57         ` 'Base Randy Brukardt
2005-12-09  2:13   ` Avoiding constraint checks w/ 'Base Anonymous Coward
2005-12-09  3:11     ` Randy Brukardt
2005-12-09 13:11   ` 'Base krischik
2005-12-09 13:52     ` 'Base Matthew Heaney
2005-12-09 20:42       ` 'Base Randy Brukardt
2005-12-08 19:11 ` 'Base Martin Krischik
2005-12-09 20:42   ` 'Base ada_student
2005-12-09 21:39     ` 'Base Pascal Obry
2005-12-10  3:30     ` 'Base Matthew Heaney
2005-12-10 14:50       ` 'Base ada_student
2005-12-10  7:52     ` 'Base Martin Krischik
2005-12-10 12:55       ` 'Base Larry Kilgallen
2005-12-10 13:37         ` 'Base Björn Persson
2005-12-11 11:00           ` 'Base Martin Krischik
2005-12-10 15:01         ` 'Base Robert A Duff
2005-12-11 10:59         ` 'Base Martin Krischik
2005-12-12  9:14       ` 'Base Ole-Hjalmar Kristensen
2005-12-12 19:08         ` 'Base Martin Krischik
2005-12-13 19:24           ` 'Base tmoran
2005-12-13 21:00         ` 'Base Georg Bauhaus
2005-12-14 19:43         ` 'Base Per Sandberg
2005-12-15 20:08           ` 'Base Martin Krischik
2005-12-16 19:19             ` 'Base Jeffrey R. Carter
2005-12-17  7:52               ` 'Base Martin Krischik
replies disabled

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