Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ln (0.17 sec)

  1. android/guava/src/com/google/common/math/BigIntegerMath.java

        checkPositive("x", x);
        if (fitsInLong(x)) {
          return LongMath.log10(x.longValue(), mode);
        }
    
        int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10);
        BigInteger approxPow = BigInteger.TEN.pow(approxLog10);
        int approxCmp = approxPow.compareTo(x);
    
        /*
         * We adjust approxLog10 and approxPow until they're equal to floor(log10(x)) and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
Back to top