diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-09 21:43:38 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-09 21:43:38 +0200 |
commit | cbea7bc041e5c14670042e3e52f0786f9561af05 (patch) | |
tree | 4d646978f1ed984099828a65c92bcee0a72b47dc /bigint.h | |
parent | d6dd94c63252ace898d9a60a539c7ab14d69f0ea (diff) |
Better error handling (exceptions)
Diffstat (limited to 'bigint.h')
-rw-r--r-- | bigint.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -93,7 +93,9 @@ public: bool odd() const; std::string serialiseMantissa() const; //stores everything but the sign - void deserialiseMantissa(const std::string&); //restores non-negative number + + //restores non-negative number; can throw invalid_argument + void deserialiseMantissa(const std::string&); std::vector<bool> bits() const; friend std::istream& operator>>(std::istream&,Bigint&); |