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.
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