OSDN Git Service

2004-03-10 Paul Kienzle <pkienzle@nist.gov>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Mar 2004 09:16:12 +0000 (09:16 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Mar 2004 09:16:12 +0000 (09:16 +0000)
commitd892842736e25525d6013da2f0377f9b6a08ac8d
tree4b71efb5adf002e92b61121c55148848d34fdc3f
parenta9ca39a06a57ccb6ba278bb32578401a64e75aa2
2004-03-10  Paul Kienzle  <pkienzle@nist.gov>
    Paolo Carlini  <pcarlini@suse.de>

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79227 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/std_complex.h
libstdc++-v3/testsuite/26_numerics/cmath/overloads.cc [moved from libstdc++-v3/testsuite/26_numerics/cmath/overloads.C with 100% similarity]
libstdc++-v3/testsuite/26_numerics/complex/13450.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/complex/pow.cc [moved from libstdc++-v3/testsuite/26_numerics/complex/pow.C with 66% similarity]