TheIsingGuy

08-07-2009, 06:35 AM

Hi,

Like the title says, I am trying to implement an algorithm involving really big integers, on the order or 1E30, However, Fortran's largest integer type integer(kind = 8) only accept upto (2^63)-1 which is around 1E18, not even nearly enough for me.

I tried to define an integer with the value 1E30, and fortran assumed it was (2^63)-1, as above.

Does anybody know a way around this?

Any help is appreciated

TheIsingGuy

Like the title says, I am trying to implement an algorithm involving really big integers, on the order or 1E30, However, Fortran's largest integer type integer(kind = 8) only accept upto (2^63)-1 which is around 1E18, not even nearly enough for me.

I tried to define an integer with the value 1E30, and fortran assumed it was (2^63)-1, as above.

Does anybody know a way around this?

Any help is appreciated

TheIsingGuy