Skip to content

Commit 7e3fe7a

Browse files
committed
Add xref for behavior of individual operators
1 parent 2bb9ddd commit 7e3fe7a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

doc/modules/ROOT/pages/fast_types.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://www.boost.org/LICENSE_1_0.txt
99
:idprefix: fast_types_
1010

1111
Now that we have seen the three basic types as specified in IEEE-754 there are three additional adjacent types: `decimal_fast32_t`, `decimal_fast64_t`, and `decimal_fast128_t`.
12-
These types yield identical computational results but with faster performance.
12+
These types yield similar computational results but with faster performance.
1313
These types make the classic tradeoff of space for time as they require more storage width than the IEEE 754 conformant type.
1414
For example `decimal32_t` is fundamentally:
1515

@@ -48,3 +48,5 @@ assert(a == b);
4848

4949
In this example `a` and `b` both have different encodings (cohorts), so they must be normalized before comparison.
5050
`decimal_fast32_t` and the other fast types store the significand and exponent in a normalized fashion, so once again we can skip that step for every operation.
51+
52+
For behavior of the individual operators see the xref:generic_decimal.adoc#operator_behavior[reference section] for the IEEE decimal types.

doc/modules/ROOT/pages/generic_decimal.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ In the event of binary arithmetic between two decimal types the result will be t
165165

166166
xref:design.adoc#non-finite-deviation[Non-finite values are supported]
167167

168+
[#operator_behavior]
168169
== Operator Behaviors
169170

170171
=== Unary Plus

0 commit comments

Comments
 (0)