diff --git a/lib/mathlib.cpp b/lib/mathlib.cpp index 53036a28c..21862000e 100644 --- a/lib/mathlib.cpp +++ b/lib/mathlib.cpp @@ -38,6 +38,8 @@ #define ISNAN(x) (std::isnan(x)) #endif +const int MathLib::bigint_bits = 64; + MathLib::value::value(const std::string &s) : intValue(0), doubleValue(0), isUnsigned(false) { diff --git a/lib/mathlib.h b/lib/mathlib.h index 434d9f223..a325613b9 100644 --- a/lib/mathlib.h +++ b/lib/mathlib.h @@ -68,6 +68,7 @@ public: typedef long long bigint; typedef unsigned long long biguint; + static const int bigint_bits; static bigint toLongNumber(const std::string & str); static biguint toULongNumber(const std::string & str);