diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/BigInt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/BigInt.h b/includes/BigInt.h index 55a5c75..a94396c 100644 --- a/includes/BigInt.h +++ b/includes/BigInt.h @@ -56,7 +56,8 @@ class BigInt { comp_t comp(const BigInt &) const throw (GeneralException); comp_t comp(unsigned int) const throw (GeneralException); - BigInt & neg() throw (GeneralException); + BigInt neg() const throw (GeneralException); + BigInt & do_neg() throw (GeneralException); BigInt sqrt() const throw (GeneralException); BigInt & do_sqrt() throw (GeneralException); @@ -93,6 +94,10 @@ class BigInt { bool isPrime() const throw (GeneralException); + size_t exportSize() const; + void exportBin(void *) const throw (GeneralException); + void importBin(const void *, size_t) throw (GeneralException); + String toString(int radix = 10) const; char * makeString(int radix = 10) const; |