complex (__complex_acosh): Just use '< _Tp()'.
2011-10-28 Richard B. Kreckel <kreckel@ginac.de> * include/std/complex (__complex_acosh): Just use '< _Tp()'. * include/tr1/complex (__complex_acosh): Likewise. From-SVN: r180607
This commit is contained in:
parent
cede2577b9
commit
4c16fa7714
@ -1,3 +1,8 @@
|
||||
2011-10-28 Richard B. Kreckel <kreckel@ginac.de>
|
||||
|
||||
* include/std/complex (__complex_acosh): Just use '< _Tp()'.
|
||||
* include/tr1/complex (__complex_acosh): Likewise.
|
||||
|
||||
2011-10-27 Richard B. Kreckel <kreckel@ginac.de>
|
||||
Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
|
@ -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);
|
||||
|
@ -189,7 +189,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user