com.google.common.math.IntMath.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 ? ? ? ? ? [
? ? F ?
? ?
E ?
? ?
? ???3
E ? ?
?
E ? E ? E ? E ? ?
? ?
E ?
? ?
? ? ? ?
?
? ? ? ? ? ? ?
? ?
?
? ?
? ? p
? ?
? ?
? ?
E ???J? ? ? E ???? q ? ?
? ?
? ? E ?
1 ? ?? B@ ????? ;?? ?C 0@??x?@? ?? ?? 7_ a ?? ? ? InnerClasses MAX_POWER_OF_SQRT2_UNSIGNED I
ConstantValue RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; maxLog10ForLeadingZeros [B
powersOf10 [I halfPowersOf10 FLOOR_SQRT_MAX_INT
factorials biggestBinomials isPowerOfTwo (I)Z Code LineNumberTable LocalVariableTable x
StackMapTable lessThanBranchFree (II)I y log2 (ILjava/math/RoundingMode;)I leadingZeros cmp logFloor mode Ljava/math/RoundingMode; log10 floorPow /Lcom/google/common/annotations/GwtIncompatible; value &need BigIntegerMath to adequately test
log10Floor (I)I pow accum b k
failing tests sqrt
halfSquare sqrtFloor divide (IILjava/math/RoundingMode;)I increment Z absRem cmpRemToHalfDivisor p q div rem signum ? mod m result gcd delta minDeltaOrZero a aTwos bTwos
checkedAdd J checkedSubtract checkedMultiply
checkedPow factorial n binomial i mean ()V this Lcom/google/common/math/IntMath;
SourceFile IntMath.java -Lcom/google/common/annotations/GwtCompatible; emulated ? ? J ? J ? ? ? ? Q ? ? ? V W ? ? ? m ] ^ java/lang/AssertionError ? ? l m P Q R Q N O exponent ? ? u m ? s ? ? ? ? java/lang/ArithmeticException / by zero ? ? ? m ? f ? f java/lang/StringBuilder Modulus ? ? ? ? must be > 0 ? ? ? m ? ^ ? ? ? ^ T Q k (%s) > n (%s) java/lang/Object ? ? ? ? U Q com/google/common/math/IntMath com/google/common/math/IntMath$1 java/math/RoundingMode java/lang/Integer SIZE MAX_VALUE (com/google/common/math/MathPreconditions
checkPositive (Ljava/lang/String;I)I !$SwitchMap$java$math$RoundingMode ordinal ()I checkRoundingUnnecessary (Z)V numberOfLeadingZeros checkNonNegative java/lang/Math (D)D $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; (Ljava/lang/String;)V abs HALF_UP HALF_EVEN append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; numberOfTrailingZeros min checkNoOverflow valueOf (I)Ljava/lang/Integer;
checkArgument )(ZLjava/lang/String;[Ljava/lang/Object;)V 1 E 1 I J K
L M N O L M P Q L M R Q L M S J K + L M T Q U Q L M V W X Y ? ? d~? ? ~? Y ? Z [ J \ @K? ] ^ X ? d??|? Y K Z [ J _ J L M ` a X ? v? W? +? .? _ - 4 4 <