List of utility methods to do Long Power Calculate
long | pow(final long k, int e) Raise a long to an int power. if (e < 0) { throw new NotPositiveException(LocalizedFormats.EXPONENT, e); long result = 1l; long k2p = k; while (e != 0) { if ((e & 0x1) != 0) { result *= k2p; ... |
long | pow(final long k, long e) Raise a long to a long power. if (e < 0) { throw new NotPositiveException(LocalizedFormats.EXPONENT, e); long result = 1l; long k2p = k; while (e != 0) { if ((e & 0x1) != 0) { result *= k2p; ... |