diff options
| author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-02 21:04:07 +0000 |
|---|---|---|
| committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-02 21:04:07 +0000 |
| commit | 44e413b313877ca7094668f0cfff59f9ebaf0486 (patch) | |
| tree | 0e548deb5c6d8d13cb204cb9f4ff673003b36b5d /libstdc++-v3/include/std/std_complex.h | |
| parent | 8c6c48fc7c21be41ebe9fd07e4d6616e39a83149 (diff) | |
| download | ppe42-gcc-44e413b313877ca7094668f0cfff59f9ebaf0486.tar.gz ppe42-gcc-44e413b313877ca7094668f0cfff59f9ebaf0486.zip | |
* include/std/std_complex.h (log): Tidy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/std_complex.h')
| -rw-r--r-- | libstdc++-v3/include/std/std_complex.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++-v3/include/std/std_complex.h b/libstdc++-v3/include/std/std_complex.h index 097ce3b7f9f..d05f8fae253 100644 --- a/libstdc++-v3/include/std/std_complex.h +++ b/libstdc++-v3/include/std/std_complex.h @@ -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> |

