PDA

View Full Version : Longer than LONG



mirosh82
01-11-2007, 07:12 AM
Hello all,

I am wandering if there is a way to store integers longer than longword type. Long integers can, at maximum, be 2,147,483,647, however, I was wandering if it was possible to store more.

Thanks,
Mike

rwagner
01-11-2007, 10:27 AM
Hi Mike,
I would look into expressing your integer as a DOUBLE type. This can store numbers in the range of +/- 10^308. If this is not a viable solution for your problem consider moving to a 64 bit platform for your work which will increase the maximum expressible LONG from 2^32 to 2^64.

-Ryan