Skip to content

Commit 35dcfa3

Browse files
committed
Move cfloat values into a table
1 parent bd74ad9 commit 35dcfa3

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

doc/modules/ROOT/pages/cfloat.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ https://www.boost.org/LICENSE_1_0.txt
55
////
66

77
[#cfloat]
8-
= cfloat support
8+
= `<cfloat>` support
99
:idprefix: cfloat_
1010

11-
== <cfloat>
12-
13-
The following macros analogous to those from <cfloat> for the decimal floating point types:
11+
The following macros analogous to those from `<cfloat>` for the decimal floating point types:
1412

1513
[source, c++]
1614
----
@@ -50,8 +48,11 @@ Additionally `BOOST_DECIMAL_DEC_EVAL_METHOD` is similar to `FLT_EVAL_METHOD`: ht
5048

5149
The valid values are:
5250

53-
- 0: all operations evaluated in the range and precision of the native type
54-
- 1: all `decimal32_t` operations are evaluated with the precision and range of `decimal64_t` internally, and returned as `decimal64_t`
55-
- 2: all `decimal32_t` and `decimal64_t` operations are evaluated with the precision and range of `decimal128_t` internally, and returned as the original type.
51+
|===
52+
| Value | Description
53+
| 0 | All operations evaluated in the range and precision of the native type
54+
| 1 | All `decimal32_t` (or `decimal_fast32_t`) operations are evaluated with the precision and range of `decimal64_t` internally, and returned as `decimal64_t`
55+
| 2 | All `decimal32_t` and `decimal64_t` (or fast equivalents) operations are evaluated with the precision and range of `decimal128_t` internally, and returned as the original type.
56+
|===
5657

57-
To use the functionallity you must `#define BOOST_DECIMAL_DEC_EVAL_METHOD` to the value you want before you `#include <boost/decimal.hpp>`.
58+
To use the functionality you must `#define BOOST_DECIMAL_DEC_EVAL_METHOD` to the value you want before you `#include <boost/decimal.hpp>`.

0 commit comments

Comments
 (0)