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

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

There is a newer version: 1.4
Show newest version
????2[	??	??	??
??
	?
	?
	?b?
??	O?
??
N?
??	N?
	?
	?
	??
?
N?
	?
??	??
N?	N?	N?		?
	?
	?
	?
??
??
	?
N?		?
	?
N?
	?
??
??	??
???
,?
,?
,??
??	??	??
??
???
6?
??
??
6?
N??
N??

?	?
?	
A?

	@$
?@
InnerClassesSQRT2_PRECOMPUTE_THRESHOLDI
ConstantValueRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;SQRT2_PRECOMPUTED_BITSLjava/math/BigInteger;LN_10DLN_2isPowerOfTwo(Ljava/math/BigInteger;)ZCodeLineNumberTableLocalVariableTablex
StackMapTablelog21(Ljava/math/BigInteger;Ljava/math/RoundingMode;)I	halfPowerx2
logX2FloormodeLjava/math/RoundingMode;logFloor?log10nextPownextCmphalfPowerSquaredapproxLog10	approxPow	approxCmpfloorLogfloorPowfloorCmp/Lcom/google/common/annotations/GwtIncompatible;valueTODOsqrtF(Ljava/math/BigInteger;Ljava/math/RoundingMode;)Ljava/math/BigInteger;
halfSquare	sqrtFloor.(Ljava/math/BigInteger;)Ljava/math/BigInteger;sqrt0shiftsqrt1sqrtApproxWithDoublesdivide\(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.java-Lcom/google/common/annotations/GwtCompatible;emulatedSSSjava/math/BigInteger !"]^#$XY%?&'(?java/lang/AssertionError???^)*+m,-jde\[Z[.Y?~/~012z345}~6Y7~?~8?9:;z<=j>?@java/math/BigDecimal?A?BCD2EFGHjIdJ?Kjava/util/ArrayList?LMNd,71??OP??QRk (%s) > n (%s)java/lang/ObjectS4TUVW ?XA16a09e667f3bcc908b2fb1366ea957d3e3adec17512775099da2f590b0667322a?YZ<%com/google/common/math/BigIntegerMath'com/google/common/math/BigIntegerMath$1java/lang/DoubleMAX_EXPONENT"com/google/common/math/DoubleUtilsSIGNIFICAND_BITSjava/lang/LongSIZE$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[Ijava/math/RoundingModeordinalcheckRoundingUnnecessary(Z)V
shiftRight	compareTo(Ljava/math/BigInteger;)Ipow	longValue()Jcom/google/common/math/LongMath(JLjava/math/RoundingMode;)IFLOORTENmultiplyequals(Ljava/lang/Object;)ZcheckNonNegative(JLjava/math/RoundingMode;)JvalueOf(J)Ljava/math/BigInteger;ONEadd	shiftLeftbigToDouble(Ljava/math/BigInteger;)Djava/lang/Math(D)D	HALF_EVEN!com/google/common/math/DoubleMathroundToBigInteger1(DLjava/math/RoundingMode;)Ljava/math/BigInteger;(Ljava/math/BigInteger;)VG(Ljava/math/BigDecimal;ILjava/math/RoundingMode;)Ljava/math/BigDecimal;toBigIntegerExact()Ljava/math/BigInteger;(Ljava/lang/String;I)I
factorials[JCEILINGcom/google/common/math/IntMath(ILjava/math/RoundingMode;)I(IILjava/math/RoundingMode;)I(I)VnumberOfTrailingZeros(J)Ijava/util/Listsizeget(I)Ljava/lang/Object;java/lang/Integer(I)Ljava/lang/Integer;
checkArgument)(ZLjava/lang/String;[Ljava/lang/Object;)VbiggestBinomials(II)J(Ljava/lang/String;I)Vlog1NARSTUVWXYVWZ[\[	]^_X*?W*??*?*?d???`
89abYc@	de_h?*??	?
W*?d=?+?.??07799HHH*?
??*?
??`???d?N*-???`?*?N-?d6h`??`??Y??`>F
GHLJSMUQdVkWwYZ?\?e?f?g?ja>wfY?"gY?hS?bY?ij?kSc!?L
B?l??lB?	me_g
 *?
W*??*?+??*????k?o?=??N-*?6???-??N-*?6???7?-?:*?6?!?N6?-?:*?6???6-:6?+?.?{/<<??RRR????*???`?*?:???:		???`??Y??`z????)?1?8?=?@?H?O?W?`?h?m?p?s?w???????????????????????az`+nYh#oS?*gYpY	 bY ij)?qS1?rY8?sS??tS??uY??vSc5?%l?l?"?@l@
C?#llC?Vwxsy	z{_4?*? W*??*?+?!?"?*?#M?+?.?q-99;;SSS,?*??,?,?*??,?
,?$?%?,?,?%N-*??,?
,?$?%??Y??`.?????T?`?b?z?????a*?|Y?bY?ij?}Yc
?9lFl?lFl?Vwxsy
}~_	`*??=??*?&L?4d?~>*??&z?'L+*+??%?N+-??+?-L+*+??%?N-+????+?`2.<DFHV^a>Y?S`bY.2YXdS<$?Yc??ll?lVwxsy
?~_8*?(?)?*?+?`abYVwxsy	??_y?,Y*?-N?,Y+?-:-,?.?/?`'	()a4?Y?Yij	????Vwxsy	??_Z?0?1W?2???2/?"??3?4h@?3?5?2d/7?86{7??9`6???9`6dx6	?7

???i
	?	??	x6	?
?86
{7
`6d6`@?,?"?:W
76
i7??9`6

a7
???
??
,?"?:W,?;?'?`z9<=A*B3E8FAHHIOL[MgOoR{T?U?V?Y?Z?[?]?_?`?a?b?d?e?R?h?i?la?
?B?S?;??
?-?Ssn??
??S*??S3???8??SA???H??S[??Sg??So??S	?3???c0?Z
??5?	???_H**?<?=?`pa?????????_?d?o!,F?$?*?>?	?*?>?	*`?>?	??*?>?	*`?>?	?*`?>?	??`|>*?=*?=??`t v$x/zI|rx?a*x?S?????S??S????c 
(??	??_??0?1W??1W??@?AY?BSY?BS?Cz?d<?D???D.??E?"??$M?B
7??3?9666		?U	d6
	`6`??$,!?"??"?M
?B?76?!
?iB?i7`6?	???,!?"??"??`f???/?6?:?K?T?X?[?^?h?l?u?{?????????????????????af
{F?S
?@?SoX?S	??S??SX??Y[}??^z??hp?Sll?Sc#@!?l?<???^_D*?????`?abYc
@Vwxsy??_/*?F?`?a????_A!?	YG?H?I?K?L?K??`u????V??Z?Q
ON




© 2015 - 2025 Weber Informatics LLC | Privacy Policy