Big numbers in MAX and Java

Mar 13, 2006 at 8:12pm

Big numbers in MAX and Java

Recently learned that Max uses 32-bit atomsizes and cant perform basic arithmetic (division,) on numbers large enough to satisfy my needs. Java and Javascript was recommended to me but I dont know where to beging coding something that would not only interface with Max but also perform the necessary operations. Anyone have a reference, advice or solution to this problem? I need to divide numbers less than a billion as accurately as possible.

#24865
Mar 13, 2006 at 10:49pm

Hi Timothy,

For an example of how to use the BigInteger class, please see
fibonacci.java. Reworking the ideas in that object with the
BigDecimal class should allow you to divide big numbers with whatever
precision you need.

Ben

#72501

You must be logged in to reply to this topic.