home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!haven.umd.edu!purdue!mentor.cc.purdue.edu!news
- From: ags@seaman.cc.purdue.edu (Dave Seaman)
- Subject: Re: intrinsic function for the imaginary part and conjugate?
- Message-ID: <C186q7.9wD@mentor.cc.purdue.edu>
- Sender: news@mentor.cc.purdue.edu (USENET News)
- Organization: Purdue University
- References: <C183Gu.7MK@athena.cs.uga.edu>
- Distribution: usa
- Date: Thu, 21 Jan 1993 22:34:55 GMT
- Lines: 22
-
- In article <C183Gu.7MK@athena.cs.uga.edu> shen@athena.cs.uga.edu (Mingzuo
- Shen) writes:
- > Hi all,
- >
- > Metcalf's book (Effective Fortran, 1985) has a list of
- > intrinsic functions. Among them, the intrinsic function for
- > obtaining the imaginary part of a complex number is AIMAG,
- > which makes sense. However, there is no intrinsic function
- > for obtaining the real part of a complex number?
-
- I have not seen Metcalf's book, but the Fortran 77 standard says the
- generic function REAL, when given a complex argument, returns the real
- part.
-
- > More seriously(?), the instrinsic function for complex
- > conjugate is also AIMAG? I am sure this is a typo or something.
-
- According to the standard, the complex conjugate function is called CONJG.
-
- --
- Dave Seaman
- ags@seaman.cc.purdue.edu
-