Commit b53dcf3e by Gabriel Dos Reis Committed by Gabriel Dos Reis

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

From-SVN: r82584
parent b25a8933
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.
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment