apkfuckery/com.discord/smali_classes2/kotlin/e/c.smali
2019-05-04 04:59:52 +02:00

32 lines
603 B
Smali

.class public Lkotlin/e/c;
.super Lkotlin/e/b;
.source "MathJVM.kt"
# direct methods
.method public static final C(F)I
.locals 1
invoke-static {p0}, Ljava/lang/Float;->isNaN(F)Z
move-result v0
if-nez v0, :cond_0
invoke-static {p0}, Ljava/lang/Math;->round(F)I
move-result p0
return p0
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Cannot round NaN value."
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method