Boost logo

Boost :

Subject: Re: [boost] [math] Support for libquadmath/ __float128
From: John Maddock (boost.regex_at_[hidden])
Date: 2013-02-24 04:25:44

>Of course, I made a mistake. You need to qualify the
>return value with constexpr.
>template<typename built_in_float_type>
>constexpr built_in_float_type const_pi()
>// This is a true compile-time constant.

That only gives you a double precision constant irrespective of the cast,


Boost list run by bdawes at, gregod at, cpdaniel at, john at