Talk:LogZp1oZm1

From aemwiki
Revision as of 17:46, 6 December 2007 by Aemphil (talk | contribs) (New page: I modified the code as follows: * added the full qualification of the complex template specifying namespace std; this is necessary for the code to compile if the developer does not explic...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I modified the code as follows:

* added the full qualification of the complex template specifying namespace std; this is necessary for the code to compile if the developer does not explicitly require the use of namespace::std.
* Added a few local variables for the storage of the real and imaginary parts of Z, x and y respectively. Also added an r2 variable that contains the square of the modulus of the complex so as to reduce the number of multiplications on the code.

--Aemphil 16:46, 6 December 2007 (MST)