Package com.compomics.util.math
Class BigMathUtils
java.lang.Object
com.compomics.util.math.BigMathUtils
Utils for the manipulation of big numbers.
- Author:
- Marc Vaudel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BigDecimalBig decimal value of E.static final BigDecimalBig decimal value of the maximal value of a double.static final BigDecimalBig decimal value of the minimal normal value of a double.static final BigDecimalBig decimal value of 1000.static final BigDecimalBig decimal value of 2. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BigDecimalgetLn10(MathContext mathContext) Returns the value of ln(10) according to the mathContext.
-
Field Details
-
E
Big decimal value of E. -
two
Big decimal value of 2. -
thousand
Big decimal value of 1000. -
minNormalDouble
Big decimal value of the minimal normal value of a double. -
maxDouble
Big decimal value of the maximal value of a double.
-
-
Constructor Details
-
BigMathUtils
public BigMathUtils()Empty default constructor
-
-
Method Details
-
getLn10
Returns the value of ln(10) according to the mathContext.- Parameters:
mathContext- the math context to use for the calculation- Returns:
- the value of ln(10)
-