This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Problems exp'ing complex numbers
- To: Wolfgang Mauerer <wolfgang at mynetix dot de>
- Subject: Re: Problems exp'ing complex numbers
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 31 Dec 2000 00:12:39 +0100
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <3A4E2F7C.D92E0ED0@mynetix.de>
Wolfgang Mauerer <wolfgang@mynetix.de> writes:
| Hello,
|
| I experienced a problem related to the libstdc++ complex<>-Class and
| don't know wether it's my false understanding of the problem, a bug
| in libstdc++ or a feature that's intentionaly missing from the
| library. When I use the program code
|
| <snap>
| long_double_complex test (some, value)
| cout << exp(test) << endl;
| </snap>
|
| I get (inf, nan) as result when huge numbers are used.
Do you have a test case?
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com