I'm modeling some high level math calculations in my current software, and I'm disappointed in the BigDecimal class. It only provides arithmetic functionality. What's up with that? Is precision not equally important when evaluating the logarithm or other higher-math calculations?
I wanted a quick, neatly packaged bundle of functions to be applied to BigDecimals. What I found was this single Java Class, written by Ronald Mak in his book, Java number cruncher: the Java programmer's guide to numerical computing:
Link to the Class BigFunctions: download.
- Download it
- Include it on your class path
- Use it
- Take into consideration any licensing issues prior to using in a commercial product (ie. change it up significantly so that you can claim to own it...?)