comp.lang.ada
 help / color / mirror / Atom feed
From: john.mccabe@emrad.com.nospam (John McCabe)
Subject: Re: Text IO
Date: Mon, 03 Sep 2001 08:23:41 GMT
Date: 2001-09-03T08:23:41+00:00	[thread overview]
Message-ID: <3b933cbf.1770145@news.demon.co.uk> (raw)
In-Reply-To: 5ee5b646.0108311715.7d223e3f@posting.google.com

On 31 Aug 2001 18:15:37 -0700, dewar@gnat.com (Robert Dewar) wrote:

>john.mccabe@emrad.com.nospam (John McCabe) wrote in message news:<3b8cac5b.3843987@news.demon.co.uk>...
>> On 28 Aug 2001 09:19:31 -0700, mraikes@vt.edu (Matt Raikes) wrote:
>> 
>> The 'Image and 'Value attribute results are, I believe, 
>> implementation dependant.
>
>That is incorrect, the semantics are fully
>defined in the RM.

Of course, but I was thinking of floating point numbers in particular
at the time of writing where the image depends on S'Digits. As base
subtypes of float have a 'Digits attribute depending on 'Machine_Radix
and 'Model_Mantissa there is clearly some implementation dependence
here.

I have found that, in general, 'Image is ideal for printing out
information for trace and debug purposes, but you really need to use
the xxx_IO facilities to get fine control over your output
representation.

Best Regards
John McCabe



  reply	other threads:[~2001-09-03  8:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-28 16:19 Text IO Matt Raikes
2001-08-28 16:28 ` martin.m.dowie
2001-08-28 16:47 ` Marin David Condic
2001-08-28 18:33 ` Ted Dennison
2001-08-29  8:50 ` John McCabe
2001-09-01  1:15   ` Robert Dewar
2001-09-03  8:23     ` John McCabe [this message]
2001-09-03 11:11       ` David C. Hoos, Sr.
2001-09-03 12:05         ` John McCabe
  -- strict thread matches above, loose matches on Subject: below --
1995-04-22  0:00 Chris O'Regan
1995-04-22  0:00 ` Tore Joergensen
1988-05-11 16:46 TEXT_IO Marcus Moehrmann
replies disabled

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