This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++-v3] Typo in std_complex.h, patch included
- To: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- Subject: Re: [libstdc++-v3] Typo in std_complex.h, patch included
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 10 Jan 2001 03:32:02 +0100
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <Pine.LNX.4.21.0101091804130.8049-100000@snake.iap.physik.tu-darmstadt.de>
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