* include/std/std_complex.h (log): Tidy.

From-SVN: r82584
This commit is contained in:
Gabriel Dos Reis 2004-06-02 21:04:07 +00:00 committed by Gabriel Dos Reis
parent b25a893390
commit b53dcf3e5c
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-06-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
* include/std/std_complex.h (log): Tidy.
2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (GLIBCXX_3.4.1): Add.

View File

@ -732,11 +732,14 @@ namespace std
inline __complex__ long double
__complex_log(const __complex__ long double& __z)
{ return __builtin_clog(__z); } */
{ return __builtin_clogl(__z); } */
// FIXME: Currently wer don't use built-ins for log() because of some
// obscure user name-space issues. So, we use the generic version
// which is why we don't use __z.__rep() in the call below.
template<typename _Tp>
inline complex<_Tp>
log(const complex<_Tp>& __z) { return __complex_log(__z.__rep()); }
log(const complex<_Tp>& __z) { return __complex_log(__z); }
template<typename _Tp>
inline complex<_Tp>