help-rcs
[Top][All Lists]
Advanced

[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:
        libstdc++-v3/testsuite/26_numerics/complex: 13450.cc pow.cc 
        libstdc++-v3/testsuite/26_numerics/cmath: overloads.cc 
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/13450.cc: New.
        
        * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
        * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.60&r2=1.2224.2.61
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/std/std_complex.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.11.4.1&r2=1.11.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/26_numerics/complex/13450.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/26_numerics/complex/pow.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/26_numerics/complex/pow.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/26_numerics/cmath/overloads.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/26_numerics/cmath/overloads.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1&r2=NONE



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13450




reply via email to

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