Talk:cpp/numeric/math/tanh
From cppreference.com
< Talk:cpp | numeric/math
C++17 constexpr constexpr qualified methods invoking std::tanh and std::atanh compile under Visual Studio 2017. Should this be added to the main page? AlmostSurely 06:23, 24 September 2020 (PDT)
- it's GCC that constexprifies cmath functions: MSVC, Clang, and Intel all reject such a call: https://godbolt.org/z/csfMjb cppreference does sometimes mention notable compiler extensions, though it's had to say where this one could be mentioned without giving it undue weight--Cubbi (talk) 07:29, 24 September 2020 (PDT)