Class BigMathUtils

java.lang.Object
com.compomics.util.math.BigMathUtils

public class BigMathUtils
extends Object
Utils for the manipulation of big numbers.
Author:
Marc Vaudel
  • Field Details

    • E

      public static final BigDecimal E
      Big decimal value of E.
    • two

      public static final BigDecimal two
      Big decimal value of 2.
    • thousand

      public static final BigDecimal thousand
      Big decimal value of 1000.
    • minNormalDouble

      public static final BigDecimal minNormalDouble
      Big decimal value of the minimal normal value of a double.
    • maxDouble

      public static final BigDecimal maxDouble
      Big decimal value of the maximal value of a double.
  • Constructor Details

    • BigMathUtils

      public BigMathUtils()
      Empty default constructor
  • Method Details

    • getLn10

      public static BigDecimal getLn10​(MathContext mathContext)
      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)