|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83692 - in sandbox/precision/libs/precision/doc: . html html/precision
From: pbristow_at_[hidden]
Date: 2013-04-01 16:59:14
Author: pbristow
Date: 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
New Revision: 83692
URL: http://svn.boost.org/trac/boost/changeset/83692
Log:
Chris's last modification and changed to N number.
Binary files modified:
sandbox/precision/libs/precision/doc/precision.pdf
Text files modified:
sandbox/precision/libs/precision/doc/html/index.html | 8 ++++----
sandbox/precision/libs/precision/doc/html/precision/abstract.html | 14 ++++++++------
sandbox/precision/libs/precision/doc/html/precision/cmathinterop.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/complexinterop.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/context.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/introduction.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/limitsinterop.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/literals.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/lowerprecision.html | 27 +++++++++++++++++++++++++--
sandbox/precision/libs/precision/doc/html/precision/quadprecision.html | 13 ++++++-------
sandbox/precision/libs/precision/doc/html/precision/references.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/thestandard.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/thetypedefs.html | 4 ++--
sandbox/precision/libs/precision/doc/html/precision/version_id.html | 6 +++---
sandbox/precision/libs/precision/doc/precision.qbk | 2 +-
15 files changed, 65 insertions(+), 41 deletions(-)
Modified: sandbox/precision/libs/precision/doc/html/index.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/index.html (original)
+++ sandbox/precision/libs/precision/doc/html/index.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -1,10 +1,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Floating-Point Typedefs Having Specified Widths - D3627</title>
+<title>Floating-Point Typedefs Having Specified Widths - N3627</title>
<link rel="stylesheet" href="./boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="next" href="precision/abstract.html" title="Abstract">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -22,7 +22,7 @@
<div class="titlepage">
<div>
<div><h2 class="title">
-<a name="precision"></a>Floating-Point Typedefs Having Specified Widths - D3627</h2></div>
+<a name="precision"></a>Floating-Point Typedefs Having Specified Widths - N3627</h2></div>
<div><div class="authorgroup">
<div class="author"><h3 class="author">
<span class="firstname">Paul A.</span> <span class="surname">Bristow</span>
@@ -72,7 +72,7 @@
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: March 31, 2013 at 17:16:23 GMT</small></p></td>
+<td align="left"><p><small>Last revised: April 01, 2013 at 20:57:31 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Modified: sandbox/precision/libs/precision/doc/html/precision/abstract.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/abstract.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/abstract.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,9 +4,9 @@
<title>Abstract</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="prev" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="prev" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="next" href="introduction.html" title="Introduction">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -40,13 +40,15 @@
<p>
The optional floating-point <code class="computeroutput"><span class="keyword">typedef</span></code>s
having specified widths are to be contained in a <span class="bold"><strong>new
- standard library header <code class="computeroutput"><span class="special"><</span><span class="identifier">cstdfloat</span><span class="special">></span></code></strong></span>. They will be defined in the
- <code class="computeroutput"><span class="identifier">std</span></code> namespace.
+ standard library header <code class="computeroutput"><span class="special"><</span><span class="identifier">cstdfloat</span><span class="special">></span></code></strong></span>.
+ </p>
+<p>
+ <span class="bold"><strong>They will be defined</strong></span> in the <code class="computeroutput"><span class="identifier">std</span></code> namespace.
</p>
<p>
<span class="bold"><strong>New C-style macros to facilitate initialization</strong></span>
of the optional floating-point <code class="computeroutput"><span class="keyword">typedef</span></code>s
- having specified widths from a floating-point literal constant are proposed.
+ having specified widths from floating-point literal constants are proposed.
</p>
<p>
It is not proposed to make any mandatory changes to <code class="computeroutput"><span class="special"><</span><span class="identifier">cmath</span><span class="special">></span></code>,
Modified: sandbox/precision/libs/precision/doc/html/precision/cmathinterop.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/cmathinterop.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/cmathinterop.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Interoperation with <cmath> and special functions</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="thestandard.html" title="Place in the standard">
<link rel="next" href="limitsinterop.html" title="Interoperation with <limits>">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/complexinterop.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/complexinterop.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/complexinterop.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Interoperation with <complex></title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="limitsinterop.html" title="Interoperation with <limits>">
<link rel="next" href="quadprecision.html" title="Specifying 128-bit precision">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/context.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/context.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/context.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>The context among existing implementations</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="lowerprecision.html" title="Extending to lower precision">
<link rel="next" href="references.html" title="References">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/introduction.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/introduction.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/introduction.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Introduction</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="abstract.html" title="Abstract">
<link rel="next" href="thetypedefs.html" title="The proposed typedefs and potential extensions">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/limitsinterop.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/limitsinterop.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/limitsinterop.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Interoperation with <limits></title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="cmathinterop.html" title="Interoperation with <cmath> and special functions">
<link rel="next" href="complexinterop.html" title="Interoperation with <complex>">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/literals.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/literals.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/literals.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Handling floating-point literals</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="thetypedefs.html" title="The proposed typedefs and potential extensions">
<link rel="next" href="thestandard.html" title="Place in the standard">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/lowerprecision.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/lowerprecision.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/lowerprecision.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Extending to lower precision</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="quadprecision.html" title="Specifying 128-bit precision">
<link rel="next" href="context.html" title="The context among existing implementations">
</head>
@@ -50,6 +50,29 @@
which should adhere to the method of precision extension specified in <a href="http://en.wikipedia.org/wiki/IEEE_floating_point" target="_top">IEEE_ floating-point
format</a>.
</p>
+<p>
+ Some embedded graphics systems use an 8-bit floating-point representation,
+ primarily for storage of pixel information. Here, an extension of the optional
+ floating-point <code class="computeroutput"><span class="keyword">typedef</span></code>s with specified
+ widths could include <code class="computeroutput"><span class="identifier">float8_t</span></code>.
+ This would be equivalent to one-quarter precision floating-point, the layout
+ of which should adhere to the method of precision extension specified in <a href="http://en.wikipedia.org/wiki/IEEE_floating_point" target="_top">IEEE_ floating-point
+ format</a>.
+ </p>
+<p>
+ These potential embedded extensions for cost-sensitive microcontroller platforms
+ are shown in the code sample below
+ </p>
+<pre class="programlisting"><span class="comment">// Potential embedded extensions.</span>
+
+<span class="keyword">namespace</span> <span class="identifier">std</span>
+<span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">floating</span><span class="special">-</span><span class="identifier">point</span> <span class="identifier">type</span> <span class="identifier">float8_t</span><span class="special">;</span> <span class="comment">// optional.</span>
+ <span class="keyword">typedef</span> <span class="identifier">floating</span><span class="special">-</span><span class="identifier">point</span> <span class="identifier">type</span> <span class="identifier">float16_t</span><span class="special">;</span> <span class="comment">// optional.</span>
+ <span class="keyword">typedef</span> <span class="identifier">floating</span><span class="special">-</span><span class="identifier">point</span> <span class="identifier">type</span> <span class="identifier">float24_t</span><span class="special">;</span> <span class="comment">// optional.</span>
+ <span class="keyword">typedef</span> <span class="keyword">float</span> <span class="identifier">float32_t</span><span class="special">;</span> <span class="comment">// optional.</span>
+<span class="special">}</span>
+</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
Modified: sandbox/precision/libs/precision/doc/html/precision/quadprecision.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/quadprecision.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/quadprecision.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Specifying 128-bit precision</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="complexinterop.html" title="Interoperation with <complex>">
<link rel="next" href="lowerprecision.html" title="Extending to lower precision">
</head>
@@ -94,11 +94,10 @@
80-bit (XFmode) and 128-bit (TFmode) floating types.</a>
</li>
<li class="listitem">
- <a href="http://software.intel.com/en-us/forums/topic/358472" target="_top">Extended
- or Quad IEEE FP formats</a> by Intel Intel64 mode on Linux (V12.1)
- provides 128 bit <code class="computeroutput"><span class="keyword">long</span> <span class="keyword">double</span></code>
- in C, however it appears that it only provides computation at 80-bit format
- giving 64-bit significand precision, and other bits are just padding.
+ Intel C++ provides an internal 128-bit floating-point type called <code class="computeroutput"><span class="identifier">_Quad</span></code>. When the <code class="computeroutput"><span class="special">-</span><span class="identifier">Qoption</span><span class="special">,</span><span class="identifier">cpp</span><span class="special">,--</span><span class="identifier">extended_float_type</span></code> command line option
+ is supplied, it supports what appears to be an undocumented data type
+ <code class="computeroutput"><span class="identifier">_Quad</span></code>. This type is equivalent
+ to GCC's <code class="computeroutput"><span class="identifier">__float128</span></code>.
</li>
<li class="listitem">
<a href="http://software.intel.com/en-us/forums/topic/358476" target="_top">Intel
Modified: sandbox/precision/libs/precision/doc/html/precision/references.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/references.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/references.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>References</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="context.html" title="The context among existing implementations">
<link rel="next" href="version_id.html" title="Version Info">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/thestandard.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/thestandard.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/thestandard.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Place in the standard</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="literals.html" title="Handling floating-point literals">
<link rel="next" href="cmathinterop.html" title="Interoperation with <cmath> and special functions">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/thetypedefs.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/thetypedefs.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/thetypedefs.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>The proposed typedefs and potential extensions</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="introduction.html" title="Introduction">
<link rel="next" href="literals.html" title="Handling floating-point literals">
</head>
Modified: sandbox/precision/libs/precision/doc/html/precision/version_id.html
==============================================================================
--- sandbox/precision/libs/precision/doc/html/precision/version_id.html (original)
+++ sandbox/precision/libs/precision/doc/html/precision/version_id.html 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -4,8 +4,8 @@
<title>Version Info</title>
<link rel="stylesheet" href=".././boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
-<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
-<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - D3627">
+<link rel="home" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
+<link rel="up" href="../index.html" title="Floating-Point Typedefs Having Specified Widths - N3627">
<link rel="prev" href="references.html" title="References">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -26,7 +26,7 @@
<a name="precision.version_id"></a><a class="link" href="version_id.html" title="Version Info">Version Info</a>
</h2></div></div></div>
<p>
- Last edit to Quickbook file precision.qbk was at 06:16:23 PM on 2013-Mar-31.
+ Last edit to Quickbook file precision.qbk was at 09:57:31 PM on 2013-Apr-01.
</p>
<div class="tip"><table border="0" summary="Tip">
<tr>
Modified: sandbox/precision/libs/precision/doc/precision.pdf
==============================================================================
Binary files. No diff available.
Modified: sandbox/precision/libs/precision/doc/precision.qbk
==============================================================================
--- sandbox/precision/libs/precision/doc/precision.qbk (original)
+++ sandbox/precision/libs/precision/doc/precision.qbk 2013-04-01 16:59:13 EDT (Mon, 01 Apr 2013)
@@ -1,4 +1,4 @@
-[article Floating-Point Typedefs Having Specified Widths - D3627
+[article Floating-Point Typedefs Having Specified Widths - N3627
[quickbook 1.5]
[id precision]
[copyright 2013 Paul A. Bristow, Christopher Kormanyos, John Maddock]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk