summaryrefslogtreecommitdiff
path: root/number.h
diff options
context:
space:
mode:
authorOlivier Gayot <og@satcom1.com>2017-11-27 11:16:46 +0100
committerOlivier Gayot <og@satcom1.com>2017-11-27 11:17:44 +0100
commit6beca4c34506edfc51cb3fd9cd3a2e895d6932e0 (patch)
tree5603bfe4c8312b8f015f788720af0ddc948674fe /number.h
parent8253c06d84f35f211bc633df616a32008373bdbc (diff)
Added the multiplication assignment operatorHEADmaster
Signed-off-by: Olivier Gayot <og@satcom1.com>
Diffstat (limited to 'number.h')
-rw-r--r--number.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/number.h b/number.h
index d0d2a10..07df60f 100644
--- a/number.h
+++ b/number.h
@@ -140,6 +140,13 @@ public:
number &operator+=(const number &n);
/**
+ * \brief Multiply a number with this number.
+ *
+ * \param n Number with multiply to this number.
+ */
+ number &operator*=(const number &n);
+
+ /**
* \brief Shift the number n bits to the left.
*
* \param n Number of bits to shift.