mozy contest: problem 1 PHP solution
Dave Smith
dave at thesmithfam.org
Mon Nov 6 13:16:04 MST 2006
Bryan Sant wrote:
> On 11/6/06, Levi Pearson <levi at cold.org> wrote:
>> When programming in C, C++, or Java (among others), standard numeric
>
> No, in java you use the BigInteger or BigDecimal class to deal with
> big numbers. These are arbitrary-precision numbers. They will grow
> until you run out of memory (or address space -- 32-bit systems blow).
And in C/C++, you use GMP, which is really cool. I love having a single
integer that could use up your entire 4GB of virtual memory.
Trivia: What's the largest integer that can be expressed with 4GB of
storage? What about 4GB * 4GB (i.e., 64 bits)?
--Dave
More information about the PLUG
mailing list