Path: gmdzi!unido!mcsun!uunet!munnari.oz.au!csc!axt654
From: axt...@csc.anu.oz
Newsgroups: comp.unix.ultrix
Subject: Bug in F77 : exp() of complex arguments
Message-ID: <2348.269751a8@csc.anu.oz>
Date: 8 Jul 90 15:30:48 GMT
Organization: Computer Services, Australian National University
Lines: 10
Posted: Sun Jul  8 16:30:48 1990

This is just a note in case anyone else is haveing trouble with exp() on 
a 3100. Basically the algorithm for exponentiation of a complex
argument is faulty. Taking exp of anything with a large imaginary part
gives a result of zero. It is easily fixed by taking mod 2*pi of the imaginary
part before calling exp. (or rewriting zexp to do this).

If you're getting funny results when using exp(complex) then check on this.

Andrew Tridgell
tri...@aerodec.anu.oz.au