
com.google.common.math.BigIntegerMath.class Maven / Gradle / Ivy
???? 2a ? ? ? ? ? ?
? ?
?
?
? c ?
? ? P ?
? ?
O ?
? ? O ?
?
?
? ?
?
O ?
?
? ? ? ?
O ? O ? O ? ?
?
?
?
? ?
? ?
?
O ?
? ?
?
O ?
?
? ?
? ? ? ?
? ? ?
- ?
- ?
- ? ?
? ? ? ? ? ?
? ?
? ? ?
7 ?
?
?
7
O
O ?
? ?
?
B ?
@$
?@ InnerClasses SQRT2_PRECOMPUTE_THRESHOLD I
ConstantValue RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; SQRT2_PRECOMPUTED_BITS Ljava/math/BigInteger; LN_10 D LN_2 isPowerOfTwo (Ljava/math/BigInteger;)Z Code LineNumberTable LocalVariableTable x
StackMapTable log2 1(Ljava/math/BigInteger;Ljava/math/RoundingMode;)I halfPower x2
logX2Floor mode Ljava/math/RoundingMode; logFloor ? log10 nextPow nextCmp halfPowerSquared approxLog10 approxPow approxCmp floorLog floorPow floorCmp /Lcom/google/common/annotations/GwtIncompatible; value TODO sqrt F(Ljava/math/BigInteger;Ljava/math/RoundingMode;)Ljava/math/BigInteger; sqrtFloorInt sqrtFloorIsExact Z
halfSquare sqrtFloor .(Ljava/math/BigInteger;)Ljava/math/BigInteger; sqrt0 shift sqrt1 sqrtApproxWithDoubles divide \(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/RoundingMode;)Ljava/math/BigInteger; p q pDec Ljava/math/BigDecimal; qDec factorial (I)Ljava/math/BigInteger; tz
normalizedNum J normalizedBits num n
approxSize bignums Ljava/util/ArrayList; startingNumber product productBits bits nextPowerOfTwo LocalVariableTypeTable -Ljava/util/ArrayList; ? listProduct ((Ljava/util/List;)Ljava/math/BigInteger; nums Ljava/util/List; (Ljava/util/List; Signature @(Ljava/util/List;)Ljava/math/BigInteger; *(Ljava/util/List;II)Ljava/math/BigInteger; m start end B(Ljava/util/List;II)Ljava/math/BigInteger; binomial (II)Ljava/math/BigInteger; i k accum numeratorAccum denominatorAccum
numeratorBits
fitsInLong ()V this 'Lcom/google/common/math/BigIntegerMath;
SourceFile BigIntegerMath.java -Lcom/google/common/annotations/GwtCompatible; emulated T T T java/math/BigInteger!"#$%&' ^ _() Y Z* ?+,- ? java/lang/AssertionError ? ? ? _./0 n12 k e f ] \ [ \3 Z ? ?4 ?567# {89: ? ?;<