com.google.common.math.LongMath.class Maven / Gradle / Ivy
???? 2? #$ #% #& '(???????? ?
)* ?+
,-
?.
)/
#0??3??d?
?123
4
?5 ?6 ?7
8 ?9:
);????????
)<
?=
>?
@A
BC
@D ,E ,F
?GHI
(J ?
#K
@L
)M?
?N ??3 ?O??????? ?PQ
'R
BS ?T ?U ,V
?W
?X
?Y
;8
d ? ' ?? B@ ??? ?? ;?? T? Hv? ?ԥ Nr? Z?z@ ?~?ƀ #??o? cEx]?
ඳ?d < Z {? ?C 0@? ?x ?@? ?|? \?G I??? ?Fo? ??]?S ???[E <$??? pX?n'?QcwzM??-+??}[? x ? ? ?? ?? 7_ a ?? s(? L;( 0wwX wu? C~?̀ ???s ?+?? !?g|?? ??? :%? ?y (QF P?Z[ InnerClasses MAX_POWER_OF_SQRT2_UNSIGNED J
ConstantValue RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; maxLog10ForLeadingZeros [B
powersOf10 [J /Lcom/google/common/annotations/GwtIncompatible; value TODO halfPowersOf10 FLOOR_SQRT_MAX_LONG
factorials biggestBinomials [I biggestSimpleBinomials isPowerOfTwo (J)Z Code LineNumberTable LocalVariableTable x
StackMapTable lessThanBranchFree (JJ)I y log2 (JLjava/math/RoundingMode;)I leadingZeros I cmp logFloor mode Ljava/math/RoundingMode; log10 floorPow
log10Floor (J)I pow (JI)J accum b k sqrt (JLjava/math/RoundingMode;)J sqrtFloor
halfSquare guess guessSquared\ divide (JJLjava/math/RoundingMode;)J increment Z absRem cmpRemToHalfDivisor p q div rem signum mod (JI)I m (JJ)J result gcd delta minDeltaOrZero a aTwos bTwos
checkedAdd checkedSubtract checkedMultiply
checkedPow factorial (I)J n binomial (II)J i nBits numerator denominator
numeratorBits multiplyFraction (JJJ)J
commonDivisor fitsInInt mean ()V this !Lcom/google/common/math/LongMath;
SourceFile
LongMath.java -Lcom/google/common/annotations/GwtCompatible; emulated ]^ ?_ ?` ?a` ?bcde ?\fg ? ?hij ? ? ? java/lang/AssertionError
impossiblek ? ? ? ? ? ? ? ? exponentlmld ?n ?op ?qrstuvw ?x ? ? ? java/lang/ArithmeticException Modulus must be positiveyz ?{|}i ? ? ? k (%s) > n (%s) java/lang/Object~?? ? ? ? ?? ? ? ? ? com/google/common/math/LongMath !com/google/common/math/LongMath$1 java/math/RoundingMode java/lang/Long SIZE MIN_VALUE MAX_VALUE java/lang/Integer (com/google/common/math/MathPreconditions
checkPositive (Ljava/lang/String;J)J !$SwitchMap$java$math$RoundingMode ordinal ()I checkRoundingUnnecessary (Z)V numberOfLeadingZeros (Ljava/lang/Object;)V checkNonNegative (Ljava/lang/String;I)I com/google/common/math/IntMath (ILjava/math/RoundingMode;)I java/lang/Math (D)D $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; abs (J)J HALF_UP HALF_EVEN (Ljava/lang/String;)V numberOfTrailingZeros min (II)I checkNoOverflow valueOf (I)Ljava/lang/Integer;
checkArgument )(ZLjava/lang/String;[Ljava/lang/Object;)V CEILING 1 ? ; ? ? ? ? ? ? ? ? ? ? ? ? ? ?s ? ? ? ? ? ? ?s ? ? ? ? ? 3 ? ? ? ? ? ? ? ? ? ? ? ? ? ] ?? ?
e ?? ? ~? ? > ? ? ? ?
@M? ? ? ? D e ? ??}?? ? I ? ? ? ? ? ? ? ? ? ? ? {? X? ,?
.? b - 4 4 <