EvalEx-big-math version 1.0.0 released #335
uklimaschewski
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am happy to announce the first release of EvalEx-big-math, the big-math extension for EvalEx.
Big-math is a library by Eric Obermühlner. It provides advanced Java BigDecimal math functions using an arbitrary precision.
EvalEx-big-math adds the advanced math functions from big-math to EvalEx.
Several standard functions in EvalEx do use Javas double math methods for calculation. These have a limited precision.
If you need more precision, the EvalEx-big-math extension replaces these limited functions with functions that use the precision of the configured MathContext.
The precision is only limited through your computing power, there is no hard limit anymore.
Additionally, EvalEx-big-math adds new functions to the standard set of functions.
How to use it
The easiest way is to use the
BigMathExpression
class, which is the same as theExpression
class, but has all the new functions and operators configured:
Alternatively, create a new EvalEx configuration and simply add all the functions and operators,
existing functions and operators will be overridden:
You may choose only to add the functions and operators you need by specifying them separately:
Instead of overriding the existing functions and operators, you can also add them with new names:
Discussion
For announcements, questions and ideas visit
the Discussions area.
Download / Including
You can download the binaries, source code and JavaDoc jars from
Maven Central.
You will find there also copy/paste templates for including EvalEx in your project with build
systems like Maven or Gradle.
Maven
To include it in your Maven project, refer to both artifacts in your pom. For example:
Gradle
If you're using gradle add both dependencies to your project's app build.gradle:
New Functions
Overridden Basic Functions
Overridden Basic perators
Overridden Trigonometric Functions
Beta Was this translation helpful? Give feedback.
All reactions