LAPACK Archives

[Lapack] Minor correction Re: Note on some Fortran calling conventions.

And I write:
 -   2) Complex results are returned in an extra argument.
 -         COMPLEX FUNCTION BAR (X)
 -           REAL X
 -           BAR = CMPLX(X, -1.0)
 -         END
 - acts like
 -         void bar(float x, float _Complex *out)
 -         { *out = x - 1.0f * _Complex_I; }

I put the out argument on the wrong end; it's first in the
argument list.

Jason

<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or