![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.math.BigIntegerMath$BigIntegerToDoubleRounder.class Maven / Gradle / Ivy
???? 4 N
&com/google/common/math/ToDoubleRounder ()V
"com/google/common/math/DoubleUtils bigToDouble (Ljava/math/BigInteger;)D
java/math/BigInteger signum ()I
!com/google/common/math/DoubleMath roundToBigInteger 1(DLjava/math/RoundingMode;)Ljava/math/BigInteger;
subtract .(Ljava/math/BigInteger;)Ljava/math/BigInteger;
! " ?com/google/common/math/BigIntegerMath$BigIntegerToDoubleRounder minus D(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
$ % toX
' ( ) sign (Ljava/math/BigInteger;)I
+ , roundToDoubleArbitrarily
/ 0 1 INSTANCE ALcom/google/common/math/BigIntegerMath$BigIntegerToDoubleRounder; Code LineNumberTable LocalVariableTable this
bigInteger Ljava/math/BigInteger; MethodParameters d D mode Ljava/math/RoundingMode; a b 8(Ljava/lang/Number;Ljava/lang/Number;)Ljava/lang/Number; -(DLjava/math/RoundingMode;)Ljava/lang/Number; (Ljava/lang/Number;)I (Ljava/lang/Number;)D Signature @Lcom/google/common/math/ToDoubleRounder;
SourceFile BigIntegerMath.java RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; InnerClasses L %com/google/common/math/BigIntegerMath BigIntegerToDoubleRounder 0 1
2 / *? ? 3 M 4 5 1 , 2 9 +? ? 3 Q 4 5 1 6 7 8 6 ( ) 2 9 +?
? 3 V 4 5 1 6 7 8 6 % 2 D '-? ? 3 [ 4 5 1 9 : ; <