Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / math / doc / html / math_toolkit / float128 / typeinfo.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>typeinfo</title>
5 <link rel="stylesheet" href="../../math.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../index.html" title="Math Toolkit 2.11.0">
8 <link rel="up" href="../float128.html" title="Implementation of Float128 type">
9 <link rel="prev" href="exp_function.html" title="Exponential function">
10 <link rel="next" href="../../constants.html" title="Chapter&#160;4.&#160;Mathematical Constants">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20 </tr></table>
21 <hr>
22 <div class="spirit-nav">
23 <a accesskey="p" href="exp_function.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../float128.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../constants.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="section">
26 <div class="titlepage"><div><div><h3 class="title">
27 <a name="math_toolkit.float128.typeinfo"></a><a class="link" href="typeinfo.html" title="typeinfo"><code class="computeroutput"><span class="identifier">typeinfo</span></code></a>
28 </h3></div></div></div>
29 <p>
30         For GCC 4.8.1 it was not yet possible to use <code class="computeroutput"><span class="identifier">typeinfo</span></code>
31         for <code class="computeroutput"><span class="identifier">float_128</span></code> on GCC: see
32         <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43622" target="_top">GCC 43622</a>.
33       </p>
34 <p>
35         So this code (to display the mangled name) failed to link <code class="computeroutput"><span class="identifier">undefined</span>
36         <span class="identifier">reference</span> <span class="identifier">to</span>
37         <span class="identifier">typeinfo</span> <span class="keyword">for</span>
38         <span class="identifier">__float128</span></code>
39       </p>
40 <pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="keyword">typeid</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">float128_t</span><span class="special">).</span><span class="identifier">name</span><span class="special">()</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
41 </pre>
42 <p>
43         This prevent using the existing tests for Boost.Math distributions, (unless
44         a few lines are commented out) and if a MACRO BOOST_MATH_INSTRUMENT controlling
45         them is defined then some diagnostic displays in Boost.Math will not work.
46       </p>
47 <p>
48         However this was only used for display purposes and could be commented out
49         until this was fixed in GCC 5.
50       </p>
51 <div class="tip"><table border="0" summary="Tip">
52 <tr>
53 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../../../doc/src/images/tip.png"></td>
54 <th align="left">Tip</th>
55 </tr>
56 <tr><td align="left" valign="top"><p>
57           Not all managed names can be <span class="bold"><strong>displayed</strong></span>
58           using <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span></code>.
59         </p></td></tr>
60 </table></div>
61 </div>
62 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
63 <td align="left"></td>
64 <td align="right"><div class="copyright-footer">Copyright &#169; 2006-2019 Nikhar
65       Agrawal, Anton Bikineev, Paul A. Bristow, Marco Guazzone, Christopher Kormanyos,
66       Hubert Holin, Bruno Lalande, John Maddock, Jeremy Murphy, Matthew Pulver, Johan
67       R&#229;de, Gautam Sewani, Benjamin Sobotta, Nicholas Thompson, Thijs van den Berg,
68       Daryle Walker and Xiaogang Zhang<p>
69         Distributed under the Boost Software License, Version 1.0. (See accompanying
70         file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
71       </p>
72 </div></td>
73 </tr></table>
74 <hr>
75 <div class="spirit-nav">
76 <a accesskey="p" href="exp_function.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../float128.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../constants.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
77 </div>
78 </body>
79 </html>