www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/16/07:46:27

Date: Tue, 16 May 2000 14:34:41 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Ambuhl <mambuhl AT earthlink DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: C++, complex, etc
In-Reply-To: <392043B8.D36FF32F@earthlink.net>
Message-ID: <Pine.SUN.3.91.1000516143426.24814G-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 15 May 2000, Martin Ambuhl wrote:

> > Can someone who knows please tell whether double_complex etc. types are
> > standard C++?
> 
> They are not.  The standard library does provide specializations for
> complex<float>, complex<double>, and complex<long double>, but these do not
> include any aliasing typedefs.

So what is the standard C++ complex type?  How do I declare a complex
variable in a way that any standard-complying C++ compiler should
support?

- Raw text -


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