comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
To: <comp.lang.ada@ada.eu.org>
Subject: Re: Text IO
Date: Mon, 3 Sep 2001 06:11:27 -0500
Date: 2001-09-03T06:11:27-05:00	[thread overview]
Message-ID: <mailman.999515464.15361.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 3b933cbf.1770145@news.demon.co.uk

I would call this a machine dependence, not an implementation
dependence.  All implementations, in order to be compliant
would need to produce the same result on the same machine.

----- Original Message -----
From: "John McCabe" <john.mccabe@emrad.com.nospam>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: September 03, 2001 3:23 AM
Subject: Re: Text IO


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
_______________________________________________
comp.lang.ada mailing list
comp.lang.ada@ada.eu.org
http://ada.eu.org/mailman/listinfo/comp.lang.ada





  reply	other threads:[~2001-09-03 11:11 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
2001-09-03 11:11       ` David C. Hoos, Sr. [this message]
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