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> |
|---|---|---|
| ||
| Previous by Date: | [Lapack] Note on some Fortran calling conventions., Jason Riedy |
|---|---|
| Next by Date: | [Lapack] Minor correction Re: Note on some Fortran calling conventions., David Bindel |
| Previous by Thread: | [Lapack] Note on some Fortran calling conventions., Jason Riedy |
| Next by Thread: | [Lapack] Minor correction Re: Note on some Fortran calling conventions., David Bindel |
| Indexes: | [Date] [Thread] |