* include/bits/std_complex.h (conj): Undo double removal.
From-SVN: r37311
This commit is contained in:
parent
6623457026
commit
6e124e38ba
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
|
||||
|
||||
* include/bits/std_complex.h (conj): Undo double removal.
|
||||
|
||||
2000-11-06 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
|
||||
|
|
|
@ -913,6 +913,11 @@ namespace std
|
|||
polar(const _Tp& __rho, const _Tp& __theta)
|
||||
{ return complex<_Tp>(__rho * cos(__theta), __rho * sin(__theta)); }
|
||||
|
||||
template<typename _Tp>
|
||||
inline complex<_Tp>
|
||||
conj(const complex<_Tp>& __z)
|
||||
{ return complex<_Tp>(__z.real(), -__z.imag()); }
|
||||
|
||||
// // We use here a few more specializations.
|
||||
// template<>
|
||||
// inline complex<float>
|
||||
|
|
Loading…
Add table
Reference in a new issue