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

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

????4e	java/math/BigIntegerZEROLjava/math/BigInteger;		
java/math/RoundingModeCEILINGLjava/math/RoundingMode;
%com/google/common/math/BigIntegerMathlog21(Ljava/math/BigInteger;Ljava/math/RoundingMode;)I
setBit(I)Ljava/math/BigInteger;	FLOOR
$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;
!"#signum()I
%&#getLowestSetBit
()#	bitLength+x
-./01(com/google/common/math/MathPreconditions
checkPositive@(Ljava/lang/String;Ljava/math/BigInteger;)Ljava/math/BigInteger;	34567'com/google/common/math/BigIntegerMath$1!$SwitchMap$java$math$RoundingMode[I
9:#ordinal
<=>isPowerOfTwo(Ljava/math/BigInteger;)Z
-@ABcheckRoundingUnnecessary(Z)V	DESQRT2_PRECOMPUTED_BITS
GH
shiftRight
JKL	compareTo(Ljava/math/BigInteger;)I
NOpowQjava/lang/AssertionError
PSTU()V
WX>
fitsInLong
Z[\	longValue()J
^_`abcom/google/common/math/LongMathlog10(JLjava/math/RoundingMode;)I	defLN_2D	hifLN_10	klTEN
nopdivide.(Ljava/math/BigInteger;)Ljava/math/BigInteger;
rspmultiply
uvwequals(Ljava/lang/Object;)Z
-yz1checkNonNegative
^|}~sqrt(JLjava/math/RoundingMode;)J
???valueOf(J)Ljava/math/BigInteger;
??p	sqrtFloor
??#intValue	??ONE
??padd?java/lang/Double
??psqrtApproxWithDoubles?"com/google/common/math/DoubleUtils
??	shiftLeft
????bigToDouble(Ljava/math/BigInteger;)D
???}?java/lang/Math(D)D	??	HALF_EVEN
?????!com/google/common/math/DoubleMathroundToBigInteger1(DLjava/math/RoundingMode;)Ljava/math/BigInteger;	??????com/google/common/math/BigIntegerMath$BigIntegerToDoubleRounderINSTANCEALcom/google/common/math/BigIntegerMath$BigIntegerToDoubleRounder;
????
roundToDouble-(Ljava/lang/Number;Ljava/math/RoundingMode;)D?java/math/BigDecimal
??T?(Ljava/math/BigInteger;)V
??o?G(Ljava/math/BigDecimal;ILjava/math/RoundingMode;)Ljava/math/BigDecimal;
????toBigIntegerExact()Ljava/math/BigInteger;?n
-?z?(Ljava/lang/String;I)I	^???
factorials[J
????com/google/common/math/IntMath(ILjava/math/RoundingMode;)I?java/lang/Long
??o?(IILjava/math/RoundingMode;)I?java/util/ArrayList
??T?(I)V
????numberOfTrailingZeros(J)I
^?b
???w
???listProduct((Ljava/util/List;)Ljava/math/BigInteger;????#java/util/Listsize
???*(Ljava/util/List;II)Ljava/math/BigInteger;????get(I)Ljava/lang/Object;?k?k (%s) > n (%s)
???
checkArgument(ZLjava/lang/String;II)V	^??7biggestBinomials
^???binomial(II)J
Sjava/lang/ObjectA16a09e667f3bcc908b2fb1366ea957d3e3adec17512775099da2f590b0667322a
T(Ljava/lang/String;I)V@$
??log@SQRT2_PRECOMPUTE_THRESHOLDI
ConstantValueRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;ceilingPowerOfTwoCodeLineNumberTableLocalVariableTableMethodParametersfloorPowerOfTwo
StackMapTable	halfPowerx2
logX2FloormodelogFloornextPownextCmphalfPowerSquaredapproxLog10	approxPow	approxCmpfloorLogfloorPowfloorCmp/Lcom/google/common/annotations/GwtIncompatible;F(Ljava/math/BigInteger;Ljava/math/RoundingMode;)Ljava/math/BigInteger;sqrtFloorIntsqrtFloorIsExactZ
halfSquaresqrt0shiftsqrt11(Ljava/math/BigInteger;Ljava/math/RoundingMode;)D\(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/RoundingMode;)Ljava/math/BigInteger;pqpDecLjava/math/BigDecimal;qDec	factorialtz
normalizedNumJnormalizedBitsnum
approxSizebignumsLjava/util/ArrayList;startingNumberproductproductBitsbitsnextPowerOfTwoLocalVariableTypeTable-Ljava/util/ArrayList;numsLjava/util/List;(Ljava/util/List;	Signature@(Ljava/util/List;)Ljava/math/BigInteger;mstartendB(Ljava/util/List;II)Ljava/math/BigInteger;(II)Ljava/math/BigInteger;iaccumnumeratorAccumdenominatorAccum
numeratorBitsthis'Lcom/google/common/math/BigIntegerMath;
SourceFileBigIntegerMath.javaRuntimeVisibleAnnotations8Lcom/google/common/math/ElementTypesAreNonnullByDefault;-Lcom/google/common/annotations/GwtCompatible;emulatedInnerClassesBigIntegerToDoubleRounder1Eifef	p8?*??
??:++	p8?*??
??E++	=>X*?W*? ?*?$*?'d???
JK+@+	l?**???,W*?'d=?2+?8.??07799HHH*?;???*?;??`???Cd?FN*-?I??`?*?MN-?'d6h`??`??PY?R?BX
YZL\S_Ucdhkisjwkl?n?u?v?w?z>w???+?? !?L
B???B?	+	ag
 **?,W*?V?*?Y+?]?*??
??ck?go?=?j?MN-*?I6???-?j?mN-*?I6???7?j-?q:*?I6?!?N6?j-?q:*?I6???6-:6?2+?8.?{/<<??RRR?????*?t??`?*?M:?M?j?q:		?I??`??PY?R?z????)?1?8?=?@?H?O?W?`?h?m?p?s?w???????????????????????z`+!h#"?"#	 + )?$1?%8?&??'??(??)5?%??"?@@
C?#C?	+*	}+??**?xW*?V?*?Y+?{??*??M?2+?8.??-99;;nnn,?M*?t??,?,??>h*???,?M*?t??6?,?
,?????,?M,??:*?I?,?
,??????PY?R?>?????T?`?b?g?k?s?????????>g.,?-.?/?+???+?9?@?
F??F?	+*
?p	`*??
=??*??L?4d?~>*?F??z??L+*+?m???FN+-?t?+?-L+*+?m???FN-+?I???+?2!.#<$D%F(H)V*^+>01`+.20X<$2???+*
?p8*?????????0++*	?3=	??*+???J	+		+*	o4y??Y*??N??Y+??:-,?????q	rs456	7898
56*	:Z????W?ƾ???/?????h@?????d/7??6{7???`6????`6dx6	?7

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

a7
???
??
,???W,?????z????*?3?8?A?H?O?[?g?o?{??????????????????????????????????
?B;?;<=
?->sn?=
??*?@3?AB8?CA?D=H?1[?Eg?Fo?G	H3?AI0?Z
??5?	????H**?????JKHJLJMN???d?o!,F???*????*???*`????q?*???*`????q*`????q?`|>*??*??q?? ?$?/?I?r?x?*xO?JK?P?QH?JL 
(
JPQMR	?S?????W???W?????z?d<??????.???????M?B
7????666		?U	d6
	`6`??$,!??q??mM
?B?76?!
?iB?i7`6?	???,!??q??m?z????&?*?;?D?H?K?N?X?\?e?k?q?{?}?????????????????????f
kF5
q@6_XT	????H?UK}V=NzW=XpF\lX#@??<??	??X>D*?'????	+
@+*TU/*??YZ[UB"?Y??C?
?g
?
?c????\]^_`aZbc3?d




© 2015 - 2024 Weber Informatics LLC | Privacy Policy