32- bit sized binary integer

Could you please suggest any graceful ways to deal with integer wraparound functionalities.
Problems I could face when exploring the integer values as as follows

addmulnumbers(2147483647,10) --> null

sum(2147483647,10) ---> 10

2147483647+10 ---> -2147483639

-2147483647+1 ---> -2147483646

Though we go optimistic way, but there are some scenarios where an integer value can exceed the maximum positive value for a 32-bit signed binary integer in computing viz. "Gangnam Style" exceeded the 32-bit integer limit for YouTube view count . So I would like to know the suggested approach for this issue

OriginalPostID-260648

  Discussion posts and replies are publicly visible