Message-ID: <39216BF9.BBBC58F8@earthlink.net> From: Martin Ambuhl Organization: Nocturnal Aviation X-Mailer: Mozilla 4.73 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 33 Date: Tue, 16 May 2000 15:39:42 GMT NNTP-Posting-Host: 63.23.128.6 X-Complaints-To: abuse AT earthlink DOT net X-Trace: newsread1.prod.itd.earthlink.net 958491582 63.23.128.6 (Tue, 16 May 2000 08:39:42 PDT) NNTP-Posting-Date: Tue, 16 May 2000 08:39:42 PDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > 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, complex, and complex, 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? See my paragraph above. There are three examples of complex named in it. There is no more a single standard complex type than there is a single standard floating type (but float, double, long double) or a single integer type (but [signed|unsigned] char, short int, long int, int). -- Martin Ambuhl mambuhl AT earthlink DOT net What one knows is, in youth, of little moment; they know enough who know how to learn. - Henry Adams A thick skin is a gift from God. - Konrad Adenauer __________________________________________________________ Fight spam now! Get your free anti-spam service: http://www.brightmail.com