All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.common.math.BigIntegerMath.class Maven / Gradle / Ivy

????4e	?	??
?
?	??
??
?
?
?g?
??	S?
??
?
???	?
?
?
??
?
?
?
??	?	?	?
?
?
?
??
??
?
?
?	?
??
??
?
*?
??	??
??	U?
U??
2?
2?
2?
?	?


<
:	
?

<



?
?	?
?
R?
@$
?@InnerClassesBigIntegerToDoubleRounderSQRT2_PRECOMPUTE_THRESHOLDI
ConstantValueRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;SQRT2_PRECOMPUTED_BITSLjava/math/BigInteger;LN_10DLN_2ceilingPowerOfTwo.(Ljava/math/BigInteger;)Ljava/math/BigInteger;CodeLineNumberTableLocalVariableTablexMethodParametersfloorPowerOfTwoisPowerOfTwo(Ljava/math/BigInteger;)Z
StackMapTablelog21(Ljava/math/BigInteger;Ljava/math/RoundingMode;)I	halfPowerx2
logX2FloormodeLjava/math/RoundingMode;logFloorlog10nextPownextCmphalfPowerSquaredapproxLog10	approxPow	approxCmpfloorLogfloorPowfloorCmp/Lcom/google/common/annotations/GwtIncompatible;sqrtF(Ljava/math/BigInteger;Ljava/math/RoundingMode;)Ljava/math/BigInteger;sqrtFloorIntsqrtFloorIsExactZ
halfSquare	sqrtFloorsqrt0shiftsqrt1sqrtApproxWithDoubles
roundToDouble1(Ljava/math/BigInteger;Ljava/math/RoundingMode;)Ddivide\(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/RoundingMode;)Ljava/math/BigInteger;pqpDecLjava/math/BigDecimal;qDec	factorial(I)Ljava/math/BigInteger;tz
normalizedNumJnormalizedBitsnumn
approxSizebignumsLjava/util/ArrayList;startingNumberproductproductBitsbitsnextPowerOfTwoLocalVariableTypeTable-Ljava/util/ArrayList;listProduct((Ljava/util/List;)Ljava/math/BigInteger;numsLjava/util/List;(Ljava/util/List;	Signature@(Ljava/util/List;)Ljava/math/BigInteger;*(Ljava/util/List;II)Ljava/math/BigInteger;mstartendB(Ljava/util/List;II)Ljava/math/BigInteger;binomial(II)Ljava/math/BigInteger;ikaccumnumeratorAccumdenominatorAccum
numeratorBits
fitsInLong()Vthis'Lcom/google/common/math/BigIntegerMath;
SourceFileBigIntegerMath.javaRuntimeVisibleAnnotations8Lcom/google/common/math/ElementTypesAreNonnullByDefault;-Lcom/google/common/annotations/GwtCompatible;emulated^smn?s !"#$%$&$java/math/BigInteger'()*+,$jk-.%com/google/common/math/BigIntegerMath]^/?012?java/lang/AssertionError???k345u6a`_`7^?c8c9:;)?<=>?c?$@^Acjava/lang/Double?c"com/google/common/math/DoubleUtilsB?CDE?FGsHIJKL?Mjava/math/BigDecimal?N?OPQ;RSTUmVjava/lang/Long?Wjava/util/ArrayList?XYZm6A:??[\$??]^k (%s) > n (%s)_`a+?bA16a09e667f3bcc908b2fb1366ea957d3e3adec17512775099da2f590b0667322a?cdFjava/lang/Object'com/google/common/math/BigIntegerMath$1?com/google/common/math/BigIntegerMath$BigIntegerToDoubleRounderZEROjava/math/RoundingModeCEILINGsetBitFLOOR$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;signum()IgetLowestSetBit	bitLength(com/google/common/math/MathPreconditions
checkPositive@(Ljava/lang/String;Ljava/math/BigInteger;)Ljava/math/BigInteger;!$SwitchMap$java$math$RoundingMode[IordinalcheckRoundingUnnecessary(Z)V
shiftRight	compareTo(Ljava/math/BigInteger;)Ipow	longValue()Jcom/google/common/math/LongMath(JLjava/math/RoundingMode;)ITENmultiplyequals(Ljava/lang/Object;)ZcheckNonNegative(JLjava/math/RoundingMode;)JvalueOf(J)Ljava/math/BigInteger;intValueONEadd	shiftLeftbigToDouble(Ljava/math/BigInteger;)Djava/lang/Math(D)D	HALF_EVEN!com/google/common/math/DoubleMathroundToBigInteger1(DLjava/math/RoundingMode;)Ljava/math/BigInteger;INSTANCEALcom/google/common/math/BigIntegerMath$BigIntegerToDoubleRounder;-(Ljava/lang/Number;Ljava/math/RoundingMode;)D(Ljava/math/BigInteger;)VG(Ljava/math/BigDecimal;ILjava/math/RoundingMode;)Ljava/math/BigDecimal;toBigIntegerExact()Ljava/math/BigInteger;(Ljava/lang/String;I)I
factorials[Jcom/google/common/math/IntMath(ILjava/math/RoundingMode;)I(IILjava/math/RoundingMode;)I(I)VnumberOfTrailingZeros(J)Ijava/util/Listsizeget(I)Ljava/lang/Object;
checkArgument(ZLjava/lang/String;II)VbiggestBinomials(II)J(Ljava/lang/String;I)Vlog1RWXYZ[\]^[\_`a`	bcd8?*????e:fg^hg	icd8?*????eEfg^hg	jkdX*?W*??*?*?	d???e
JKfg^l@hg	mndl?
*???W*?	d=?
+?.??07799HHH*???*???`???d?N*-???`?*?N-?	d6h`??`??Y??eBX
YZL\S_Ucdhkisjwkl?n?u?v?w?zf>wo^?p^?qX?g^?rs?tXl!?L
B???B?h	gr	undg
 
*?W*??*?+??*????k?o?=??N-*?6???-??N-*?6???7?-?:*?6?!?N6?-?:*?6???6-:6?
+?.?{/<<??RRR????*? ??`?*?:???:		???`??Y??ez????)?1?8?=?@?H?O?W?`?h?m?p?s?w???????????????????????fz`+v^h#wX?"p^x^	 g^ rs)?yX1?z^8?{X??|X??}^??~Xl5?%??"?@@
C?#C?h	gr[	??d??
*?!W*??*?+?"?#?*?$M?
+?.??-99;;nnn,?*? ?,?,?%>h*?%?,?*? ??6?,?
,?&?'?,?,?':*??,?
,?&?'??Y??e>?????T?`?b?g?k?s?????????f>g.?X?????^?g^?rs??^l+?9?@?
F??F?h	gr[
?cd	`*??=??*?)L?4d?~>*??)z?+L+*+??'?N+-? ?+?-L+*+??'?N-+????+?e2!.#<$D%F(H)V*^+f>?^?X`g^.2?^XmX<$?^l???hg[
?cd8*?,?-?.?/?e0fg^hg[	??d=	?0*+?1?eJf	g^	rsh	gr[	??dy?2Y*?3N?2Y+?3:-,?4?5?eq	rsf4?^?^rs	????h
??r[	??dZ?6?7W?8???8/?#???9h@??;?8d/7?>6{7???`6????`6dx6	?7

???i
	?	??	x6	?
?>6
{7
`6d6`@?,?#?@W
76
i7???`6

a7
???
??
,?#?@W,?A?+?ez????*?3?8?A?H?O?[?g?o?{?????????????????????????????????f?
?B?X?;??
?-?Xsn??
??X*??X3???8??XA???H??X[??Xg??Xo??X	?3???l0?Z
<?5?	<h???dH**?B?C?e?f?????h?????d?d?o!,F?&?*?D??*?D?*`?D???*?D?*`?D??*`?D???`|>*?C*?C??e? ?$?/?I?r?x?f*x?X?????X??X????l 
(h
?????	??d??6?7WE?7W??F?Gz?d<?H???H.??I?#??&M?B
7????666		?U	d6
	`6`??$,!?#??#?M
?B?76?!
?iB?i7`6?	???,!?#??#??ez????&?*?;?D?H?K?N?X?\?e?k?q?{?}?????????????????????ff
kF?X
q@?X_X?X	??X??XH??^K}??Nz??Xp?X\l?Xl#@??<??h	???kdD*?	????e	fg^l
@hg[??d/*?J?ef????dA!?YK?L?M?O?P?O??e???????[??Z?TSUV




© 2015 - 2025 Weber Informatics LLC | Privacy Policy