This is the mail archive of the gcc-patches@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]

Re: [libstdc++-v3] Typo in std_complex.h, patch included


Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> writes:

| I believe there is a typo in line 507 of std_complex.h in fuction
| template<typename _Tp> inline complex<_Tp> pow(const complex<_Tp>&
| __x, const complex<_Tp>& __y). The line should read return exp(__y *
| log(__x)); instead of return exp(__x * log(__x));.

Good cacth!  Thanks.
The patch is in.

-- 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]