You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
14
12
15
13
[source, c++]
16
14
----
@@ -50,8 +48,11 @@ Additionally `BOOST_DECIMAL_DEC_EVAL_METHOD` is similar to `FLT_EVAL_METHOD`: ht
50
48
51
49
The valid values are:
52
50
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
+
|===
56
57
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