42 lines
1.1 KiB
Smali
42 lines
1.1 KiB
Smali
.class public Lcom/google/common/math/BigDecimalMath;
|
|
.super Ljava/lang/Object;
|
|
.source "BigDecimalMath.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/common/math/ElementTypesAreNonnullByDefault;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/common/math/BigDecimalMath$BigDecimalToDoubleRounder;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static roundToDouble(Ljava/math/BigDecimal;Ljava/math/RoundingMode;)D
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/common/math/BigDecimalMath$BigDecimalToDoubleRounder;->INSTANCE:Lcom/google/common/math/BigDecimalMath$BigDecimalToDoubleRounder;
|
|
|
|
invoke-virtual {v0, p0, p1}, Lcom/google/common/math/ToDoubleRounder;->roundToDouble(Ljava/lang/Number;Ljava/math/RoundingMode;)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|