Shivam
Shivam

Reputation: 11

Is there is any other data type larger than long long int that can be handled by GCC compiler?

And I am not able to compile a programming because of the same. I have tried long long int to get the value of 11^26..

However while debugging I see the value changes abruptly when I reach 11^20 as in the last digit of the number instead of being one changes to another number.

Upvotes: 1

Views: 2849

Answers (1)

Andrey Derevyanko
Andrey Derevyanko

Reputation: 560

No. The biggest that is present now is (for positives) uint64_t. You can use some library implementation (e.g. http://gmplib.org/) or implement your own type.

Upvotes: 2

Related Questions