http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50880
--- Comment #17 from Gabriel Dos Reis <gdr at gcc dot gnu.org> 2011-11-02 12:48:23 UTC --- (In reply to comment #16) > Well, I guess this would be most of it: > > template<typename _Tp> > std::complex<_Tp> > __complex_acosh(const std::complex<_Tp>& __z) > { > return _Tp(2.0) * std::log(std::sqrt(_Tp(0.5) * (__z + _Tp(1.0))) > + std::sqrt(_Tp(0.5) * (__z - _Tp(1.0)))); > } looks good -- hoping for log implementation to do the right thing.