On Fri, 6 Dec 2019 11:30:14 +0100
Patrick Dupre wrote:
in c, I use double complex
in f95, I use COMPLEX*16
Never heard of double complex in c.
Fortran passes all arguments by reference, so a fortran
routine that has a complex*16 arg probably needs something
like this in C
struct c16 {
double real;
double imag;
};
fortran_routine(struct c16* arg);
That would be my guess, anyway.