Skip to content

Commit 45e748f

Browse files
committed
Xref for compound operations
1 parent 38a23b3 commit 45e748f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/modules/ROOT/pages/decimal32_t.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,17 @@ Increments/Decrements the decimal value subject to:
200200

201201
. If the decimal value is `NAN` returns `QNAN`
202202
. If the decimal value is `INF` returns `INF`
203+
204+
=== Compound Operators
205+
206+
[source, c++]
207+
----
208+
// 3.2.2.6 compound assignment:
209+
constexpr decimal32_t& operator+=(RHS rhs);
210+
constexpr decimal32_t& operator-=(RHS rhs);
211+
constexpr decimal32_t& operator*=(RHS rhs);
212+
constexpr decimal32_t& operator/=(RHS rhs);
213+
----
214+
215+
Matches the behavior of xref:generic_decimal.adoc#operator_behavior[addition, subtraction, multiplication, and division].
216+

0 commit comments

Comments
 (0)