fastest_typdefs.html 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Fastest 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="minimum_typdefs.html" title="Minimum-width floating-point typedefs">
  10. <link rel="next" href="greatest_typdefs.html" title="Greatest-width floating-point typedef">
  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="minimum_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="greatest_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.fastest_typdefs"></a><a class="link" href="fastest_typdefs.html" title="Fastest floating-point typedefs">Fastest floating-point <code class="computeroutput"><span class="keyword">typedef</span></code>s</a>
  28. </h2></div></div></div>
  29. <p>
  30. The <code class="computeroutput"><span class="keyword">typedef</span> <span class="identifier">float_fast</span><span class="special">#</span><span class="identifier">_t</span></code>, with
  31. # replaced by the width, designates the <span class="bold"><strong>fastest</strong></span>
  32. floating-point type with a <span class="bold"><strong>width of at least # bits</strong></span>.
  33. </p>
  34. <p>
  35. There is no absolute guarantee that these types are the fastest for all purposes.
  36. In any case, however, they satisfy the precision and width requirements.
  37. </p>
  38. <p>
  39. Fastest minimum-width floating-point types are provided for all existing exact-width
  40. floating-point types on a given platform.
  41. </p>
  42. <p>
  43. For example, if a platform supports <code class="computeroutput"><span class="identifier">float32_t</span></code>
  44. and <code class="computeroutput"><span class="identifier">float64_t</span></code>, then <code class="computeroutput"><span class="identifier">float_fast32_t</span></code> and <code class="computeroutput"><span class="identifier">float_fast64_t</span></code>
  45. will also be supported, etc.
  46. </p>
  47. </div>
  48. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  49. <td align="left"></td>
  50. <td align="right"><div class="copyright-footer">Copyright &#169; 2006-2019 Nikhar
  51. Agrawal, Anton Bikineev, Paul A. Bristow, Marco Guazzone, Christopher Kormanyos,
  52. Hubert Holin, Bruno Lalande, John Maddock, Jeremy Murphy, Matthew Pulver, Johan
  53. R&#229;de, Gautam Sewani, Benjamin Sobotta, Nicholas Thompson, Thijs van den Berg,
  54. Daryle Walker and Xiaogang Zhang<p>
  55. Distributed under the Boost Software License, Version 1.0. (See accompanying
  56. 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>)
  57. </p>
  58. </div></td>
  59. </tr></table>
  60. <hr>
  61. <div class="spirit-nav">
  62. <a accesskey="p" href="minimum_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="greatest_typdefs.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
  63. </div>
  64. </body>
  65. </html>