apkfuckery/com.discord/smali_classes2/kotlin/f/c.smali

33 lines
603 B
Smali
Raw Normal View History

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