Fix compiler errors

This commit is contained in:
Daniel Marjamäki 2017-10-20 17:38:15 +02:00
parent 1d5e3e4f0c
commit 819862ddcb
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,8 @@
#define ISNAN(x) (std::isnan(x)) #define ISNAN(x) (std::isnan(x))
#endif #endif
const int MathLib::bigint_bits = 64;
MathLib::value::value(const std::string &s) : MathLib::value::value(const std::string &s) :
intValue(0), doubleValue(0), isUnsigned(false) intValue(0), doubleValue(0), isUnsigned(false)
{ {

View File

@ -68,6 +68,7 @@ public:
typedef long long bigint; typedef long long bigint;
typedef unsigned long long biguint; typedef unsigned long long biguint;
static const int bigint_bits;
static bigint toLongNumber(const std::string & str); static bigint toLongNumber(const std::string & str);
static biguint toULongNumber(const std::string & str); static biguint toULongNumber(const std::string & str);