Is there a good algorithm to calculate a more precise value for exponential functions involving complex numbers, in Java?

I am new to Java and writing a class to represent Complex numbers. //imports public final class Complex extends Object implements Serializable{ private final double real; private final double imaginary; public Complex(final double real, final double imaginary){ this.real=real; this.imaginary=imaginary; } //other constructors //other methods public Complex multiply(final Complex multiplicand){ return new Complex(this.real*multiplicand.real-this.imaginary*multiplicand.imaginary,this.real*multiplicand.imaginary+multiplicand.real*this.imaginary); } public Complex…

Details