[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug libstdc++/13450] [3.3/3.4 Regression] std::pow(std::complex<double>

From: cvs-commit at gcc dot gnu dot org
Subject: [Bug libstdc++/13450] [3.3/3.4 Regression] std::pow(std::complex<double>(-1., 0.), 0.5) yields (NaN, 0)
Date: 11 Mar 2004 18:33:49 -0000

------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-11 
18:33 -------
Subject: Bug 13450

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-3_4-branch
Changes by:     address@hidden  2004-03-11 18:33:36

Modified files:
        libstdc++-v3   : ChangeLog 
        libstdc++-v3/include/std: std_complex.h 
Added files:
Removed files:
        libstdc++-v3/testsuite/26_numerics/complex: pow.C 
        libstdc++-v3/testsuite/26_numerics/cmath: overloads.C 

Log message:
        2004-03-11  Paul Kienzle  <address@hidden>
        Paolo Carlini  <address@hidden>
        PR libstdc++/13450
        * include/std/std_complex.h (pow(const complex&, const _Tp&),
        pow(const _Tp&, const complex&)): Use cmath pow only when safe.
        * testsuite/26_numerics/complex/ New.
        * testsuite/26_numerics/cmath/overloads.C: Rename to
        * testsuite/26_numerics/complex/pow.C: Rename to and fix.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]