delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/14/19:38:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: C99 complex numbers in cygwin?
Date: Thu, 15 Jul 2004 09:38:12 +1000
Message-ID: <8ED2FA87C8ACC04192709688DDFD5F5F436374@calttsv025.cal.riotinto.org>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Billinghurst, David (CALCRTS)" <david DOT billinghurst AT comalco DOT riotinto DOT com DOT au>
To: <dgun AT umpire DOT com>, <cygwin AT cygwin DOT com>
Cc: <newlib AT sources DOT redhat DOT com>
X-OriginalArrivalTime: 14 Jul 2004 23:38:13.0011 (UTC) FILETIME=[A0E24E30:01C469FB]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i6ENcXAm000968

cygwin-owner AT cygwin DOT com wrote:
> I'm trying to port a program to cygwin that uses the C99 complex
> number standard and the complex.h library (carg, csin, etc.). 
> According to the gcc web page, this is mostly implemented in gcc 3.0
> and above, but I can't find it in the cygwin gcc package.  Is this on
> purpose or an oversight?    
> 
> I found it partially implemented in the mingw package (3.3-1), but
> not at all in the cygwin gcc package (3.3.1-3) (although a little
> testing shows that _Complex is recognized by the compiler and
> built-in complex functions work).   
> 
> --
> Daniel

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.  

Is there anyone working on this, or interested?

--
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/


- Raw text -


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