minimum_typdefs.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Minimum-width floating-point typedefs</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="../cstdfloat.html" title="Chapter&#160;3.&#160;Specified-width floating-point typedefs">
  9. <link rel="prev" href="exact_typdefs.html" title="Exact-Width Floating-Point typedefs">
  10. <link rel="next" href="fastest_typdefs.html" title="Fastest floating-point typedefs">
  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="exact_typdefs.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../cstdfloat.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="fastest_typdefs.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
  24. </div>
  25. <div class="section">
  26. <div class="titlepage"><div><div><h2 class="title" style="clear: both">
  27. <a name="math_toolkit.minimum_typdefs"></a><a class="link" href="minimum_typdefs.html" title="Minimum-width floating-point typedefs">Minimum-width floating-point
  28. <code class="computeroutput"><span class="keyword">typedef</span></code>s</a>
  29. </h2></div></div></div>
  30. <p>
  31. The <code class="computeroutput"><span class="keyword">typedef</span> <span class="identifier">float_least</span><span class="special">#</span><span class="identifier">_t</span></code>, with
  32. # replaced by the width, designates a floating-point type with a <span class="bold"><strong>width of at least # bits</strong></span>, such that no floating-point
  33. type with lesser size has at least the specified width. Thus, <code class="computeroutput"><span class="identifier">float_least32_t</span></code> denotes the smallest floating-point
  34. type with a width of at least 32 bits.
  35. </p>
  36. <p>
  37. Minimum-width floating-point types are provided for all existing exact-width
  38. floating-point types on a given platform.
  39. </p>
  40. <p>
  41. For example, if a platform supports <code class="computeroutput"><span class="identifier">float32_t</span></code>
  42. and <code class="computeroutput"><span class="identifier">float64_t</span></code>, then <code class="computeroutput"><span class="identifier">float_least32_t</span></code> and <code class="computeroutput"><span class="identifier">float_least64_t</span></code>
  43. will also be supported, etc.
  44. </p>
  45. </div>
  46. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  47. <td align="left"></td>
  48. <td align="right"><div class="copyright-footer">Copyright &#169; 2006-2019 Nikhar
  49. Agrawal, Anton Bikineev, Paul A. Bristow, Marco Guazzone, Christopher Kormanyos,
  50. Hubert Holin, Bruno Lalande, John Maddock, Jeremy Murphy, Matthew Pulver, Johan
  51. R&#229;de, Gautam Sewani, Benjamin Sobotta, Nicholas Thompson, Thijs van den Berg,
  52. Daryle Walker and Xiaogang Zhang<p>
  53. Distributed under the Boost Software License, Version 1.0. (See accompanying
  54. 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>)
  55. </p>
  56. </div></td>
  57. </tr></table>
  58. <hr>
  59. <div class="spirit-nav">
  60. <a accesskey="p" href="exact_typdefs.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../cstdfloat.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="fastest_typdefs.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
  61. </div>
  62. </body>
  63. </html>