delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/02:21:32

Date: Tue, 4 Mar 1997 18:26:20 +0000 ( )
From: "Gurunandan R. Bhat" <grbhat AT unigoa DOT ernet DOT in>
To: Beautiful Savior Lutheran Church <av568 AT rgfn DOT epcc DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: complex in c (!c++)
In-Reply-To: <5finhk$q39@news.epcc.edu>
Message-Id: <Pine.LNX.3.91.970304182450.1842A-100000@aditya.unigoa.ernet.in>
Mime-Version: 1.0


On 5 Mar 1997, Beautiful Savior Lutheran Church wrote:

> Paul Derbyshire (ao950 AT FreeNet DOT Carleton DOT CA) wrote:
> 
> 
> > Someone should write a library for this, implementing
> > log,sin,cos,exp,tan,asin,acos,atan,hyperbolic all of the above, sqrt, sqr,
> > raisedto, and so on.
> 
> These all exist in two versions. The libc.a versions, which are somewhat 
> slow and don't follow ANSI 100%, and the libm.a (the MATH library) 
> versions, which are optimized and 100% ANSI. If you didn't know these 
> functions already existed, I highly recommend reading a book on the ANSI 
> library.

methinks, he meant: write these functions so that they work for type 
__complex__. the libc versions, work for floats/doubles not for 
__complex__. 

regards

- Raw text -


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