comp.lang.ada
 help / color / mirror / Atom feed
From: Steve Sangwine <Stephen.Sangwine@lis.inpg.fr>
Subject: Interfacing Gnat to Fortran Complex*16
Date: Mon, 10 Jan 2005 15:29:38 +0100
Date: 2005-01-10T15:29:38+01:00	[thread overview]
Message-ID: <p345u0h7n6tkbtvienin0vaj2gkif23uqu@4ax.com> (raw)

Has anyone tried and succeeded in interfacing Ada code compiled with
Gnat (gcc 3.4.2 version) to Fortran code, passing double precision
complex arrays to the Fortran code (Complex*16)?

Background: the LRM Annex B specifies only single precision complex
in Interfaces.Fortran, and I have code for which this works (I am
interfacing to the LAPACK numerical library). LAPACK contains a
double precision version of the routine I am using and I would like
to interface to it.

Problem: although the single precision routine works fine, the double
precision code goes into an apparently infinite loop.

Steve Sangwine
University of Essex, UK.



                 reply	other threads:[~2005-01-10 14:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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