|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83673 - sandbox/precision/libs/precision/doc
From: e_float_at_[hidden]
Date: 2013-04-01 05:47:55
Author: christopher_kormanyos
Date: 2013-04-01 05:47:54 EDT (Mon, 01 Apr 2013)
New Revision: 83673
URL: http://svn.boost.org/trac/boost/changeset/83673
Log:
Added additional potential embedded extensions more clearly including float8_t, float24_t. Made something plural in a sensible way.
Text files modified:
sandbox/precision/libs/precision/doc/precision.qbk | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
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 05:47:54 EDT (Mon, 01 Apr 2013)
@@ -75,7 +75,7 @@
[*New C-style macros to facilitate initialization]
of the optional floating-point `typedef`s having specified widths
-from a floating-point literal constant are proposed.
+from floating-point literal constants are proposed.
It is not proposed to make any mandatory changes to `<cmath>`,
special functions, `<limits>`, or `<complex>`.
@@ -561,6 +561,27 @@
three-quarter precision floating-point, the layout of which should
adhere to the method of precision extension specified in __IEEE_floating_point.
+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 `typedef`s with specified widths
+could include `float8_t`. This would be equivalent to
+one-quarter precision floating-point, the layout of which should
+adhere to the method of precision extension specified in __IEEE_floating_point.
+
+These potential embedded extensions for cost-sensitive microcontroller platforms
+are shown in the code sample below
+
+ // Potential embedded extensions.
+
+ namespace std
+ {
+ typedef floating-point type float8_t; // optional.
+ typedef floating-point type float16_t; // optional.
+ typedef floating-point type float24_t; // optional.
+ typedef float float32_t; // optional.
+ }
+
+
[endsect] [/section:lowerprecision Extending to lower precision]
[section:context The context among existing implementations]
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