Class Maths


  • public final class Maths
    extends java.lang.Object
    Math-related utils
    Since:
    2.0 (0.1)
    Version:
    2.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double log10​(java.math.BigInteger theValue)
      Returns the base 10 logarithm of a BigInteger.
      static int roundUp​(int x, int quant)  
      static long roundUp​(long x, int quant)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • log10

        public static double log10​(java.math.BigInteger theValue)
        Returns the base 10 logarithm of a BigInteger.
      • roundUp

        public static int roundUp​(int x,
                                  int quant)
      • roundUp

        public static long roundUp​(long x,
                                   int quant)