summaryrefslogtreecommitdiff
path: root/number.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'number.cpp')
-rw-r--r--number.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/number.cpp b/number.cpp
index 074c4dc..02d655d 100644
--- a/number.cpp
+++ b/number.cpp
@@ -316,6 +316,14 @@ number::operator+=(const number &n)
}
number &
+number::operator*=(const number &n)
+{
+ *this = *this * n;
+
+ return *this;
+}
+
+number &
number::operator<<=(std::uint32_t n)
{
*this = *this << n;