2001-01-09 Peter Schmid<schmid@snake.iap.physik.tu-darmstadt.de>
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 02:30:57 +0000 (02:30 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2001 02:30:57 +0000 (02:30 +0000)
        * include/bits/std_complex.h: Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38848 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/std_complex.h

index 1e77ef5..1323e39 100644 (file)
@@ -1,3 +1,6 @@
+2001-01-09  Peter Schmid<schmid@snake.iap.physik.tu-darmstadt.de>
+         * include/bits/std_complex.h: Fix a typo.
+
 2001-01-10  Loren J. Rittle  <ljrittle@acm.org>
 
        * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
index 18e1b02..92a5223 100644 (file)
@@ -504,7 +504,7 @@ namespace std
     inline complex<_Tp>
     pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
     {
-      return exp(__x * log(__x));
+      return exp(__y * log(__x));
     }
 
   template<typename _Tp>