tags:

views:

83

answers:

1

I'm working on a prodgect in which I need a huge number, 1 billion digits. I'm writing in c, though I'll take answers from objective-c.

Also, I'm wondering about this function/data type I found: Biginteger.

I would like to know what language people use this in and if it will help my problem.

Please respond, Frederick

+3  A: 

There is the GMP bignum library, if that's what you are asking.
(Seems to be offline at the moment: cache)

sth
libgmp will call `abort()` if your number has a billion digits, I think.. ;-) Very bad design for a library.
R..
@R.: I am not sure it matters much due to the computational feasibility of such a number! When an eighty-digit integer is sufficient to count the number of atoms in the observable universe, what would be the possible application of a billion digit integer!?
Clifford