How does BigInteger store its data?

前端 未结 3 1155
天命终不由人
天命终不由人 2020-12-30 20:02

I\'ve been searching around for quite a while, and I\'ve found almost nothing on how BigInteger actually holds its numbers. Are they an array of chars? Somethin

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 20:46

    There are many ways to represent big integers. Strings of characters is simple, and anyone who has ever done long division with pencil and paper can write the arithmetic routines.

提交回复
热议问题