Date: Sun, 2 Mar 1997 13:30:13 +0200 (IST) From: Eli Zaretskii To: "Gurunandan R. Bhat" cc: djgpp AT delorie DOT com Subject: Re: complex in c (!c++) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 1 Mar 1997, Gurunandan R. Bhat wrote: > gives a wrong zz. i would be grateful if users of __complex__ in c could > share their experience on this. would it correct to conclude that while > simple algebraic manipulations are implemented, math functions are not? I think the problem is that the library doesn't support complex data type. The algebraic operations are implemented by calling functions from libgcc.a, therefore they work. You will have to explicitly write the complex math functions in terms of the real and imaginary parts, to get full support for complex computations.