comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: IEEE float I/O in DEC Ada
Date: 1999/05/28
Date: 1999-05-28T00:00:00+00:00	[thread overview]
Message-ID: <7imvvr$5jb$1@nnrp1.deja.com> (raw)
In-Reply-To: 374EB9A9.F226AEE7@Maths.UniNe.CH

In article <374EB9A9.F226AEE7@Maths.UniNe.CH>,
  Gautier <Gautier.deMontmollin@Maths.UniNe.CH> wrote:
> Hi all.
>
> Since DEC Ada wants either
>
>   pragma float_representation(vax_float);
>
> or
>
>   pragma float_representation(ieee_float);
>
> for a whole "project" and a part of mine requires
> the VAX representation, so I must use it.
>
> _But_ I wish to save results in IEEE format -
> I can live with text format but the IEEE is
> a bit more compact...
>
> DEC Ada doesn't seem to have special types or
> conversions functions for both floats sorts.
>
> Anyway, are there conversion routines available ?
>
> NB: the version is :
>  "DEC Ada V3.2-8 with the Professional Development Option"
>
> TIA


You can definitely handle both types within a single program
and convert between them (we know this only too well since it
was one of the relatively difficult requirements that the
GNAT implementation had to meet in copying DEC Ada 83).


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




  reply	other threads:[~1999-05-28  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-28  0:00 IEEE float I/O in DEC Ada Gautier
1999-05-28  0:00 ` Robert Dewar [this message]
1999-05-29  0:00 ` GitaSrinivasan
1999-05-30  0:00 ` Thierry Lelegard
1999-06-02  0:00 ` Gautier
replies disabled

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