31 lines
582 B
Smali
31 lines
582 B
Smali
.class public Lkotlin/f/c;
|
|
.super Lkotlin/f/b;
|
|
|
|
|
|
# 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
|