
2 Feb
2019
2 Feb
'19
6:15 p.m.
This is not constexpr for float128_t and the compiler generates a function call. :-(
This works fine for me: #include <boost/cstdfloat.hpp> #include <boost/math/constants/constants.hpp> int main() { using boost::float128_t; constexpr float128_t pi = boost::math::constants::pi<float128_t>(); return 0; } --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus