This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems exp'ing complex numbers


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]