Boost C++ Libraries: Ticket #12069: hexfloat not respected for float128 https://svn.boost.org/trac10/ticket/12069 <p> Here's an example program: </p> <pre class="wiki">#include &lt;boost/multiprecision/float128.hpp&gt; #include &lt;boost/version.hpp&gt; #include &lt;iostream&gt; #include &lt;iomanip&gt; template&lt;typename Float&gt; void test() { std::cout &lt;&lt; std::hexfloat &lt;&lt; Float(1.3516809557473623e+236Q) &lt;&lt; "\n"; } int main() { std::cout &lt;&lt; "boost " BOOST_LIB_VERSION &lt;&lt; "\n"; test&lt;double&gt;(); test&lt;boost::multiprecision::float128&gt;(); } </pre><p> Its output is </p> <pre class="wiki">boost 1_60 0x1.5417c8p+784 1.351681e+236 </pre><p> while in both cases hexadecimal format was requested. Here second and third lines should be identical. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12069 Trac 1.4.3