com.google.common.math.LongMath.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2? gh gi gj kl????????
mn ?o
pq
?r
ms
gt??3??d?
?uvw
x
?y ?z ?{
| ?}~
m????????
m?
??
??
??
??
?? p? p?
????
(?G+
g?
??
m??
??????J?? ??3P ?????????,??
k?
?? ?? ?? p?
??
??
??
=|
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? s????( 4?8
?}\f?1??Μp? ???8? ???b ??uS?, +SC?j0 ':? ??? ߂?? kGd?? ??9om..?"?\?[k{)?7?!??v?#??? pr.?\? ?kլ?? ???u0
?@G???M???e°? E $? n ?? ?= k?? ???? InnerClasses? MillerRabinTester 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 millerRabinBaseSets [[J 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 ??? ?? ?????????????' java/lang/AssertionError
impossible]?&'
]^ exponent????[?-??-???????#?#?B java/lang/ArithmeticException Modulus must be positive]??'????LB k (%s) > n (%s) java/lang/Object????
?#XYDB com/google/common/math/LongMath !com/google/common/math/LongMath$1 1com/google/common/math/LongMath$MillerRabinTester 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 ? 5
] ?? ?
e ?? ? ~? ? ?
@M? D e ? ??}?? J ? ? ? {? X? ,?
.? b - 4 4 <