www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/03/04:35:54

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: <Pine DOT LNX DOT 3 DOT 91 DOT 970301025205 DOT 7122A-100000 AT aditya DOT unigoa DOT ernet DOT in>
<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
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

- Raw text -


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