Example usage for Java com.google.common.math BigIntegerMath fields, constructors, methods, implement or subclass
The text is from its open source code.
BigInteger | binomial(int n, int k) Returns n choose k , also known as the binomial coefficient of n and k , that is, n! |
BigInteger | factorial(int n) Returns n! |
int | log10(BigInteger x, RoundingMode mode) Returns the base-10 logarithm of x , rounded according to the specified rounding mode. |
int | log2(BigInteger x, RoundingMode mode) Returns the base-2 logarithm of x , rounded according to the specified rounding mode. |
BigInteger | sqrt(BigInteger x, RoundingMode mode) Returns the square root of x , rounded with the specified rounding mode. |