This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/13450] [3.3 Regression] std::pow(std::complex<double>(-1.,0.),0.5) yields (NaN,0)


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-08 19:45 -------
Subject: Bug 13450

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	hammer-3_3-branch
Changes by:	paolo@gcc.gnu.org	2004-08-08 19:45:56

Modified files:
	libstdc++-v3   : ChangeLog.hammer 
	libstdc++-v3/include/std: std_complex.h 

Log message:
	2004-08-08  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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.36&r2=1.1.2.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/std/std_complex.h.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.2.34.3&r2=1.2.34.4



-- 


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


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