Limeoats / BigNumber

C++ class for creating and computing arbitrary-length integers
Apache License 2.0
181 stars 43 forks source link

A question #4

Closed driftee closed 4 years ago

driftee commented 5 years ago

If I want to construct the class with a big integer without ""(quotation marks),like BigNumber a = 1234567898765432123456789; something like this. What should I do?

kuruk-mm commented 5 years ago

The construct operador allow you to initialize with a "long long" data type BigNumber(long long number);

So... the data type range of long long is -9223372036854775807 to 9223372036854775807

If you want a number larger than that, you need to use quoting marks.