* include/bits/std_complex.h (complex<long double>::operator*=,
      complex<long double>::operator/=): Fix thinko.

From-SVN: r44767
This commit is contained in:
Gunter Winkler 2001-08-10 15:51:00 +00:00 committed by Gabriel Dos Reis
parent aa2408185d
commit 07fe2dec7a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de
* include/bits/std_complex.h (complex<long double>::operator*=,
complex<long double>::operator/=): Fix thinko.
2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/std_limits.h: New file.

View File

@ -930,14 +930,14 @@ namespace std
inline complex<long double>&
complex<long double>::operator*=(long double __r)
{
__real__ _M_value *= __r;
_M_value *= __r;
return *this;
}
inline complex<long double>&
complex<long double>::operator/=(long double __r)
{
__real__ _M_value /= __r;
_M_value /= __r;
return *this;
}