summaryrefslogtreecommitdiff
path: root/number.h
diff options
context:
space:
mode:
authorOlivier Gayot <og@satcom1.com>2017-11-18 13:54:29 +0100
committerOlivier Gayot <og@satcom1.com>2017-11-19 14:01:08 +0100
commita78c788171d45057406b571846e55541eef49688 (patch)
tree97b6ccf86e5b0995bcb4626085ae9d35f524b8fa /number.h
parentc029a456f410ef45f4803bc7e209fbab81b3c42a (diff)
Made use of 32bits integer instead of 64bits
This will allow multiplication to hold the result of the multiplication of two 32 bits integer in a 64 bits integer. Signed-off-by: Olivier Gayot <og@satcom1.com>
Diffstat (limited to 'number.h')
-rw-r--r--number.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/number.h b/number.h
index 8489453..97817ac 100644
--- a/number.h
+++ b/number.h
@@ -76,7 +76,7 @@ public:
private:
/* First item is the least significant. */
- std::list<std::uint64_t> _operands;
+ std::list<std::uint32_t> _operands;
};
std::ostream &operator<<(std::ostream &, const number &);