0

What is the data type that i should use to store a 33 digit wide number. I am using unsigned long long but overflow occurs.How to deal with it?

MSalters
  • 173,980
  • 10
  • 155
  • 350

1 Answers1

1

__int128 on GCC allows you to store numbers up to 170141183460469231731687303715884105727, with 39 digits.

vz0
  • 32,345
  • 7
  • 44
  • 77