delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/02/06:37:52

Date: Sun, 2 Mar 1997 13:30:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Gurunandan R. Bhat" <grbhat AT unigoa DOT ernet DOT in>
cc: djgpp AT delorie DOT com
Subject: Re: complex in c (!c++)
In-Reply-To: <Pine.LNX.3.91.970301025205.7122A-100000@aditya.unigoa.ernet.in>
Message-ID: <Pine.SUN.3.91.970302132947.6609R-100000@is>
MIME-Version: 1.0

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. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019