1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Chapter 2. Floating Point Utilities</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.12.0"> 8<link rel="up" href="index.html" title="Math Toolkit 2.12.0"> 9<link rel="prev" href="math_toolkit/contact.html" title="Contact Info and Support"> 10<link rel="next" href="math_toolkit/rounding.html" title="Rounding Truncation and Integer Conversion"> 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="math_toolkit/contact.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="index.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="math_toolkit/rounding.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="chapter"> 26<div class="titlepage"><div><div><h1 class="title"> 27<a name="utils"></a>Chapter 2. Floating Point Utilities</h1></div></div></div> 28<div class="toc"> 29<p><b>Table of Contents</b></p> 30<dl class="toc"> 31<dt><span class="section"><a href="math_toolkit/rounding.html">Rounding Truncation and Integer 32 Conversion</a></span></dt> 33<dd><dl> 34<dt><span class="section"><a href="math_toolkit/rounding/round.html">Rounding Functions</a></span></dt> 35<dt><span class="section"><a href="math_toolkit/rounding/trunc.html">Truncation Functions</a></span></dt> 36<dt><span class="section"><a href="math_toolkit/rounding/modf.html">Integer and Fractional Part 37 Splitting (modf)</a></span></dt> 38</dl></dd> 39<dt><span class="section"><a href="math_toolkit/fpclass.html">Floating-Point Classification: Infinities 40 and NaNs</a></span></dt> 41<dt><span class="section"><a href="math_toolkit/sign_functions.html">Sign Manipulation Functions</a></span></dt> 42<dt><span class="section"><a href="math_toolkit/fp_facets.html">Facets for Floating-Point Infinities 43 and NaNs</a></span></dt> 44<dd><dl> 45<dt><span class="section"><a href="math_toolkit/fp_facets/facets_intro.html">Introduction</a></span></dt> 46<dt><span class="section"><a href="math_toolkit/fp_facets/reference.html">Reference</a></span></dt> 47<dt><span class="section"><a href="math_toolkit/fp_facets/examples.html">Examples</a></span></dt> 48<dt><span class="section"><a href="math_toolkit/fp_facets/portability.html">Portability</a></span></dt> 49<dt><span class="section"><a href="math_toolkit/fp_facets/rationale.html">Design Rationale</a></span></dt> 50</dl></dd> 51<dt><span class="section"><a href="math_toolkit/next_float.html">Floating-Point Representation 52 Distance (ULP), and Finding Adjacent Floating-Point Values</a></span></dt> 53<dd><dl> 54<dt><span class="section"><a href="math_toolkit/next_float/nextafter.html">Finding the Next Representable 55 Value in a Specific Direction (nextafter)</a></span></dt> 56<dt><span class="section"><a href="math_toolkit/next_float/float_next.html">Finding the Next 57 Greater Representable Value (float_next)</a></span></dt> 58<dt><span class="section"><a href="math_toolkit/next_float/float_prior.html">Finding the Next 59 Smaller Representable Value (float_prior)</a></span></dt> 60<dt><span class="section"><a href="math_toolkit/next_float/float_distance.html">Calculating the 61 Representation Distance Between Two floating-point Values (ULP) float_distance</a></span></dt> 62<dt><span class="section"><a href="math_toolkit/next_float/float_advance.html">Advancing a floating-point 63 Value by a Specific Representation Distance (ULP) float_advance</a></span></dt> 64<dt><span class="section"><a href="math_toolkit/next_float/ulp.html">Obtaining the Size of a 65 Unit In the Last Place - ULP</a></span></dt> 66</dl></dd> 67<dt><span class="section"><a href="math_toolkit/float_comparison.html">Floating-point Comparison</a></span></dt> 68<dt><span class="section"><a href="math_toolkit/cond.html">Condition Numbers</a></span></dt> 69</dl> 70</div> 71</div> 72<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 73<td align="left"></td> 74<td align="right"><div class="copyright-footer">Copyright © 2006-2019 Nikhar 75 Agrawal, Anton Bikineev, Paul A. Bristow, Marco Guazzone, Christopher Kormanyos, 76 Hubert Holin, Bruno Lalande, John Maddock, Jeremy Murphy, Matthew Pulver, Johan 77 Råde, Gautam Sewani, Benjamin Sobotta, Nicholas Thompson, Thijs van den Berg, 78 Daryle Walker and Xiaogang Zhang<p> 79 Distributed under the Boost Software License, Version 1.0. (See accompanying 80 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>) 81 </p> 82</div></td> 83</tr></table> 84<hr> 85<div class="spirit-nav"> 86<a accesskey="p" href="math_toolkit/contact.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="index.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="math_toolkit/rounding.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 87</div> 88</body> 89</html> 90