Wednesday, 18 September 2013

Add AtomicLong to AtomicLong?

Add AtomicLong to AtomicLong?

I'm creating a program to create the Fibonacci sequence, but it keeps
messing up because longs can't contain it for very long. I'm trying to
switch to AtomicLongs, but I cannot add a atomiclong to an atomiclong,
only a regular long? How can I do this, or would it be better to do
something more dynamic, like adding two arrays of bytes?

No comments:

Post a Comment