Victor
Victor

Reputation: 14612

Arbitrary numbers operations

I try to create a library that makes operations with arbitrary size numbers (like ones with 50-100 digits).

I saw on Codeplex a library IntX. It works pretty well, but I want to make my own library to learn; the code in IntX is too complex for a beginner to undertand I think.

So, could anyone help me with the algorithm for summing to numbers by summing each digit in them and returning the sum as a string?

Thanks a lot!

Upvotes: 1

Views: 142

Answers (1)

Ivan Kochurkin
Ivan Kochurkin

Reputation: 4501

You could explore System.Numerics.BigInteger methods via ILSpy for example.

Upvotes: 2

Related Questions