diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-28 09:34:52 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-28 09:34:52 +0000 |
| commit | 1fdef5d42ac7ff8801d33bcc36db4206636f8c35 (patch) | |
| tree | 2ae0192aed34dd8755ea2883595f124e05f77ba5 /libstdc++-v3/include/std/complex | |
| parent | 702ee50d9d695d5c884a614ce4fa10e2efc68d07 (diff) | |
| download | ppe42-gcc-1fdef5d42ac7ff8801d33bcc36db4206636f8c35.tar.gz ppe42-gcc-1fdef5d42ac7ff8801d33bcc36db4206636f8c35.zip | |
2011-10-28 Richard B. Kreckel <kreckel@ginac.de>
* include/std/complex (__complex_acosh): Just use '< _Tp()'.
* include/tr1/complex (__complex_acosh): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180607 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/complex')
| -rw-r--r-- | libstdc++-v3/include/std/complex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/complex b/libstdc++-v3/include/std/complex index 7f1581bbcb4..3c41b483cd2 100644 --- a/libstdc++-v3/include/std/complex +++ b/libstdc++-v3/include/std/complex @@ -1690,7 +1690,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * (__z.real() + __z.imag()) - _Tp(1.0), _Tp(2.0) * __z.real() * __z.imag()); __t = std::sqrt(__t); - if (__z.real() < _Tp(-0.0)) + if (__z.real() < _Tp()) __t = -__t; return std::log(__t + __z); |

