Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-OB-Received: from unknown (205.158.62.55) by wfilter.us4.outblaze.com; 15 Jul 2004 17:50:16 -0000
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
From: dgun@umpire.com
To: "Billinghurst, David (CALCRTS)" <david.billinghurst@comalco.riotinto.com.au>,
   cygwin@cygwin.com
Cc: newlib@sources.redhat.com
Date: Thu, 15 Jul 2004 09:52:04 -0800
Subject: RE: C99 complex numbers in cygwin?
X-Originating-Ip: 192.25.142.225
X-Originating-Server: ws1-3.us4.outblaze.com
Message-Id: <20040715175204.15AA2101D9@ws1-3.us4.outblaze.com>

From: "Billinghurst, David (CALCRTS)"
> gcc uses the complex math functions from the system libraries,
> (excluding builtins).  They aren't in newlib, so cygwin doesn't have them.
> 
> I, too, would like them as they are required by gfortran, which will be 
> (is) the fortran compiler in gcc-3.5.  

UPDATE: This just in...

http://gcc.gnu.org/onlinedocs/gcc-3.4.1/gcc/Other-Builtins.html#Other%20Builtins

"The ISO C99 functions ... cabsf, cabsl, cabs, cacosf, cacoshf, cacoshl,
cacosh, cacosl, cacos, cargf, cargl, carg, casinf, casinhf, casinhl,
casinh, casinl, casin, catanf, catanhf, catanhl, catanh, catanl, catan,
cbrtf, cbrtl, cbrt, ccosf, ccoshf, ccoshl, ccosh, ccosl, ccos, cexpf,
cexpl, cexp, cimagf, cimagl, cimag, conjf, conjl, conj,..., cpowf,
cpowl, cpow, cprojf, cprojl, cproj, crealf, creall, creal, csinf, csinhf,
csinhl, csinh, csinl, csin, csqrtf, csqrtl, csqrt, ctanf, ctanhf, ctanhl,
ctanh, ctanl, ctan ... are handled as built-in functions except in strict
ISO C90 mode (-ansi or -std=c89)."

Sounds like I just need to wait for gcc 3.4.  Is there a build of it
available for cygwin yet?

--
Daniel

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

