Files
safe_numerics/doc/html/index.html
2014-12-22 22:18:42 -08:00

140 lines
8.5 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Safe Numerics</title>
<link rel="stylesheet" href="boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Safe Numerics">
<link rel="next" href="introduction.html" title="Introduction">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="pre-boost" width="30%" height="30%" src="pre-boost.jpg"></td>
<td align="center"><a href="../../index.html">Home</a></td>
<td align="center"><a href="">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav"><a accesskey="n" href="introduction.html"><img src="images/next.png" alt="Next"></a></div>
<div class="chapter">
<div class="titlepage"><div>
<div><h2 class="title">
<a name="safe_numerics"></a>Safe Numerics</h2></div>
<div><div class="author"><h3 class="author">
<span class="firstname">Robert</span> <span class="surname">Ramey</span>
</h3></div></div>
<div><p class="copyright">Copyright &#169; 2012 Robert Ramey</p></div>
<div><div class="legalnotice">
<a name="idm449651885664"></a><p><a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt"&gt;Subject to Boost Software License</a></p>
</div></div>
</div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
<dl>
<dt><span class="section"><a href="introduction.html">Introduction</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="introduction.html#idm449651883776">Problem</a></span></dt>
<dt><span class="section"><a href="introduction.html#idm449651880544">Solution</a></span></dt>
<dt><span class="section"><a href="introduction.html#idm449651877232">Requirements</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="tutorial.html">Tutorial</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="tutorial.html#safe_numerics.tutorial.1">Problem: Arithmetic operations can yield in correct
results.</a></span></dt>
<dt><span class="section"><a href="tutorial.html#safe_numerics.tutorial.2">Problem: Undetected overflow</a></span></dt>
<dt><span class="section"><a href="tutorial.html#safe_numerics.tutorial.3">Problem: Implicit conversions change data values</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="notes.html">Notes</a></span></dt>
<dt><span class="section"><a href="concepts.html">Concepts</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="concepts.html#safe_numerics.numeric">Numeric&lt;T&gt;</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="concepts.html#idm449651837888">Description</a></span></dt>
<dt><span class="section"><a href="concepts.html#idm449651832672">Notation</a></span></dt>
<dt><span class="section"><a href="concepts.html#idm449651824752">Associated Types</a></span></dt>
<dt><span class="section"><a href="concepts.html#idm449651818928">Valid Expressions</a></span></dt>
<dt><span class="section"><a href="concepts.html#idm449651729600">Header</a></span></dt>
<dt><span class="section"><a href="concepts.html#idm449651727600">Models</a></span></dt>
</dl></dd>
</dl></dd>
<dt><span class="section"><a href="types.html">Types</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="types.html#safe_numerics.safe_unsigned_range">safe_unsigned_range&lt;MIN, MAX&gt;</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="types.html#idm449651723888">Description</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651721936">Template Parameters</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651710064">Model of</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651707296">Header</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651705312">Example of use</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651703824">See Also</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="types.html#safe_numerics.safe_signed_range">safe_signed_range&lt;boost::intmax_t MIN,
boost::intmax_tMAX&gt;</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="types.html#idm449651700528">Description</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651698576">Template Parameters</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651686640">Model of</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651683584">Header</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651681600">Example of use</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651679248">See Also</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="types.html#safe_numerics.safe">safe&lt;T&gt;</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="types.html#idm449651676112">Description</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651674240">Notation</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651664288">Template Parameters</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651655152">Model of</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651652832">Valid Expressions</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651636256">Header</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651634256">Example of use</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651631408">Notes</a></span></dt>
<dt><span class="section"><a href="types.html#idm449651630256">See Also</a></span></dt>
</dl></dd>
</dl></dd>
<dt><span class="section"><a href="functions.html">Functions</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="functions.html#safe_numerics.safe_cast">safe_cast&lt;T, U&gt;</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="functions.html#idm449651627264">Synopsis</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651625808">Description</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651623360">Type requirements</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651614336">Preconditions</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651611904">Complexity</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651610752">Header</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651608768">Example of use</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="functions.html#safe_numerics.safe_compare">safe_compare&lt;T, U&gt;</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="functions.html#idm449651605616">Synopsis</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651603696">Description</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651601312">Type requirements</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651592544">Header</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651590560">Example of use</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="functions.html#safe_numerics.rationale.overflow">overflow</a></span></dt>
<dd><dl>
<dt><span class="section"><a href="functions.html#idm449651587936">Synopsis</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651585920">Description</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651582368">Header</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651580384">Example of use</a></span></dt>
<dt><span class="section"><a href="functions.html#idm449651578608">See Also</a></span></dt>
</dl></dd>
</dl></dd>
<dt><span class="section"><a href="rationale.html">Rationale</a></span></dt>
<dt><span class="section"><a href="change_log.html">Change Log</a></span></dt>
<dt><span class="section"><a href="acknowledgements.html">Acknowledgements</a></span></dt>
<dt><span class="section"><a href="references.html">References</a></span></dt>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: $Date</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
<div class="spirit-nav"><a accesskey="n" href="introduction.html"><img src="images/next.png" alt="Next"></a></div>
</body>
</html>