From: jesse AT lenny DOT dseg DOT ti DOT com (Jesse Bennett) Newsgroups: comp.os.msdos.djgpp Subject: Re: complex in c (!c++) Date: 3 Mar 1997 07:29:48 GMT Organization: Texas Instruments Lines: 14 Message-ID: <5fdulc$nvo$1@superb.csc.ti.com> References: <5fdl9h$m70 AT freenet-news DOT carleton DOT ca> Reply-To: jbennett AT ti DOT com (Jesse Bennett) NNTP-Posting-Host: lenny.dseg.ti.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <5fdl9h$m70 AT freenet-news DOT carleton DOT ca>, ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) writes: > > 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. This should already exist in the G77 and F2C libs. AFAIK F77 libraries can be linked with C code in general and since G77 and GCC share a common backend their respective libraries should be compatible. It would probably be worthwhile to investigate how G77 currently handles complex numbers as well. --Jesse