parent
4b6164087e
commit
28751c8ad0
|
@ -25,7 +25,8 @@
|
|||
#include <cctype>
|
||||
#include <limits>
|
||||
|
||||
MathLib::biguint MathLib::toULongNumber(const std::string & str) {
|
||||
MathLib::biguint MathLib::toULongNumber(const std::string & str)
|
||||
{
|
||||
// hexadecimal numbers:
|
||||
if (isHex(str)) {
|
||||
if (str[0] == '-') {
|
||||
|
@ -72,7 +73,8 @@ MathLib::biguint MathLib::toULongNumber(const std::string & str) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
MathLib::bigint MathLib::toLongNumber(const std::string & str) {
|
||||
MathLib::bigint MathLib::toLongNumber(const std::string & str)
|
||||
{
|
||||
// hexadecimal numbers:
|
||||
if (isHex(str)) {
|
||||
if (str[0] == '-') {
|
||||
|
|
Loading…
Reference in New Issue