From: "Nick Roberts" <Nick.Roberts@dial.pipex.com>
Subject: Re: identify floating-point types
Date: 1999/03/18
Date: 1999-03-18T00:00:00+00:00 [thread overview]
Message-ID: <7cqp8g$d48$2@plug.news.pipex.net> (raw)
In-Reply-To: 7cpk9t$s5o$1@plug.news.pipex.net
Thinking about this a little more, you need to be careful that the type
'vector' matches the corresponding Fortran vector (array) type. I suspect
you will need the two separate packages, with:
for real'Size use Interfaces.Fortran.Real'Size;
in one, and:
for real'Size use Interfaces.Fortran.Double_Precision'Size;
in the other, to ensure that a change of representation has not been done.
In addition, I think you will need:
pragma Convention(Fortran,real);
pragma Convention(Fortran,vector);
to (help) ensure these types are stored in the same format as their Fortran
counterparts.
Hope this also helps!
-------------------------------------
Nick Roberts
-------------------------------------
next prev parent reply other threads:[~1999-03-18 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <e4uxdrff6+w9@nedcu4>
1999-03-17 0:00 ` identify floating-point types Nick Roberts
1999-03-18 0:00 ` Nick Roberts [this message]
1999-03-19 0:00 ` robert_dewar
1999-03-19 0:00 ` Nick Roberts
1999-03-25 0:00 ` bglbv
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox