[Bug c++/49813] [C++0x] sinh vs asinh vs constexpr

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 22 11:31:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49813

--- Comment #15 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-22 11:30:38 UTC ---
Also works with

namespace std {
    constexpr double asinh (double x) { return __builtin_asinh (x); }
}

int main()
{
  constexpr double das = std::asinh(1.0);  
}



More information about the Gcc-bugs mailing list