public final class mXparser extends Object
Expression
,
Function
Modifier and Type | Field and Description |
---|---|
static String |
NAMEv10 |
static String |
NAMEv24 |
static String |
NAMEv30 |
static String |
NAMEv40 |
static String |
NAMEv41 |
static String |
NAMEv42 |
static PrimesCache |
primesCache
Prime numbers cache
|
Constructor and Description |
---|
mXparser() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkIfCanonicalRounding()
Double floating-point precision arithmetic causes rounding problems, i.e. 0.1
+ 0.1 + 0.1 is slightly different than 0.3, additionally doubles are having a
lot of advantages providing flexible number representation regardless of
number size. mXparser is fully based on double numbers and that is why is
providing intelligent canonical rounding to minimize misleading results.
|
static void |
consolePrint(Object o)
Prints object.toString to the Console
|
static boolean |
isCurrentCalculationCancelled()
Check whether a flag to cancel current calculation process is set.
|
static boolean |
regexMatch(String str,
String pattern)
Function used to introduce some compatibility between JAVA and C# while
regexp matching.
|
public static volatile PrimesCache primesCache
public static final String NAMEv10
public static final String NAMEv24
public static final String NAMEv30
public static final String NAMEv40
public static final String NAMEv41
public static final String NAMEv42
public static final boolean checkIfCanonicalRounding()
public static final void consolePrint(Object o)
o
- Object to printpublic static final boolean regexMatch(String str, String pattern)
str
- Stringpattern
- Pattern (regexp)public static final boolean isCurrentCalculationCancelled()