mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
1873 lines
39 KiB
Smali
1873 lines
39 KiB
Smali
.class Lkotlin/math/MathKt__MathJVMKt;
|
|
.super Lkotlin/math/MathKt__MathHKt;
|
|
.source "MathJVM.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\"\n\u0000\n\u0002\u0010\u0006\n\u0002\u0008\u0004\n\u0002\u0010\u0007\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\t\n\u0002\u00088\u001a\u0011\u0010\u0016\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010\u0016\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010\u0016\u001a\u00020\t2\u0006\u0010\u0018\u001a\u00020\tH\u0087\u0008\u001a\u0011\u0010\u0016\u001a\u00020\u000c2\u0006\u0010\u0018\u001a\u00020\u000cH\u0087\u0008\u001a\u0011\u0010\u0019\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010\u0019\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0010\u0010\u001a\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0011\u0010\u001a\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010\u001b\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010\u001b\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0010\u0010\u001c\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0011\u0010\u001c\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010\u001d\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010\u001d\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0019\u0010\u001e\u001a\u00020\u00012\u0006\u0010\u001f\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0019\u0010\u001e\u001a\u00020\u00062\u0006\u0010\u001f\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0010\u0010 \u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0011\u0010 \u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010!\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010!\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010\"\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010\"\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010#\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010#\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010$\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010$\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010%\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010%\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010&\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010&\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010\'\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010\'\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0019\u0010(\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u00012\u0006\u0010\u001f\u001a\u00020\u0001H\u0087\u0008\u001a\u0019\u0010(\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u00062\u0006\u0010\u001f\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010)\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010)\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010*\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010*\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0018\u0010+\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u00012\u0006\u0010,\u001a\u00020\u0001H\u0007\u001a\u0018\u0010+\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u00062\u0006\u0010,\u001a\u00020\u0006H\u0007\u001a\u0011\u0010-\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010-\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0010\u0010.\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0010\u0010.\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0007\u001a\u0019\u0010/\u001a\u00020\u00012\u0006\u00100\u001a\u00020\u00012\u0006\u00101\u001a\u00020\u0001H\u0087\u0008\u001a\u0019\u0010/\u001a\u00020\u00062\u0006\u00100\u001a\u00020\u00062\u0006\u00101\u001a\u00020\u0006H\u0087\u0008\u001a\u0019\u0010/\u001a\u00020\t2\u0006\u00100\u001a\u00020\t2\u0006\u00101\u001a\u00020\tH\u0087\u0008\u001a\u0019\u0010/\u001a\u00020\u000c2\u0006\u00100\u001a\u00020\u000c2\u0006\u00101\u001a\u00020\u000cH\u0087\u0008\u001a\u0019\u00102\u001a\u00020\u00012\u0006\u00100\u001a\u00020\u00012\u0006\u00101\u001a\u00020\u0001H\u0087\u0008\u001a\u0019\u00102\u001a\u00020\u00062\u0006\u00100\u001a\u00020\u00062\u0006\u00101\u001a\u00020\u0006H\u0087\u0008\u001a\u0019\u00102\u001a\u00020\t2\u0006\u00100\u001a\u00020\t2\u0006\u00101\u001a\u00020\tH\u0087\u0008\u001a\u0019\u00102\u001a\u00020\u000c2\u0006\u00100\u001a\u00020\u000c2\u0006\u00101\u001a\u00020\u000cH\u0087\u0008\u001a\u0011\u00103\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u00103\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u0010\u000f\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u0010\u000f\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u00104\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u00104\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u00105\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u00105\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u00106\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u00106\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u00107\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u00107\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0011\u00108\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0011\u00108\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0010\u00109\u001a\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0007\u001a\u0010\u00109\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0007\u001a\u0015\u0010:\u001a\u00020\u0001*\u00020\u00012\u0006\u0010;\u001a\u00020\u0001H\u0087\u0008\u001a\u0015\u0010:\u001a\u00020\u0006*\u00020\u00062\u0006\u0010;\u001a\u00020\u0006H\u0087\u0008\u001a\r\u0010<\u001a\u00020\u0001*\u00020\u0001H\u0087\u0008\u001a\r\u0010<\u001a\u00020\u0006*\u00020\u0006H\u0087\u0008\u001a\u0015\u0010=\u001a\u00020\u0001*\u00020\u00012\u0006\u0010>\u001a\u00020\u0001H\u0087\u0008\u001a\u0015\u0010=\u001a\u00020\u0006*\u00020\u00062\u0006\u0010>\u001a\u00020\u0006H\u0087\u0008\u001a\r\u0010?\u001a\u00020\u0001*\u00020\u0001H\u0087\u0008\u001a\r\u0010?\u001a\u00020\u0006*\u00020\u0006H\u0087\u0008\u001a\u0015\u0010@\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0017\u001a\u00020\u0001H\u0087\u0008\u001a\u0015\u0010@\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0018\u001a\u00020\tH\u0087\u0008\u001a\u0015\u0010@\u001a\u00020\u0006*\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u0006H\u0087\u0008\u001a\u0015\u0010@\u001a\u00020\u0006*\u00020\u00062\u0006\u0010\u0018\u001a\u00020\tH\u0087\u0008\u001a\u000c\u0010A\u001a\u00020\t*\u00020\u0001H\u0007\u001a\u000c\u0010A\u001a\u00020\t*\u00020\u0006H\u0007\u001a\u000c\u0010B\u001a\u00020\u000c*\u00020\u0001H\u0007\u001a\u000c\u0010B\u001a\u00020\u000c*\u00020\u0006H\u0007\u001a\u0015\u0010C\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u000f\u001a\u00020\u0001H\u0087\u0008\u001a\u0015\u0010C\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u000f\u001a\u00020\tH\u0087\u0008\u001a\u0015\u0010C\u001a\u00020\u0006*\u00020\u00062\u0006\u0010\u000f\u001a\u00020\u0006H\u0087\u0008\u001a\u0015\u0010C\u001a\u00020\u0006*\u00020\u00062\u0006\u0010\u000f\u001a\u00020\tH\u0087\u0008\"\u001f\u0010\u0000\u001a\u00020\u0001*\u00020\u00018\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0002\u0010\u0003\u001a\u0004\u0008\u0004\u0010\u0005\"\u001f\u0010\u0000\u001a\u00020\u0006*\u00020\u00068\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0002\u0010\u0007\u001a\u0004\u0008\u0004\u0010\u0008\"\u001f\u0010\u0000\u001a\u00020\t*\u00020\t8\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0002\u0010\n\u001a\u0004\u0008\u0004\u0010\u000b\"\u001f\u0010\u0000\u001a\u00020\u000c*\u00020\u000c8\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0002\u0010\r\u001a\u0004\u0008\u0004\u0010\u000e\"\u001f\u0010\u000f\u001a\u00020\u0001*\u00020\u00018\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0010\u0010\u0003\u001a\u0004\u0008\u0011\u0010\u0005\"\u001f\u0010\u000f\u001a\u00020\u0006*\u00020\u00068\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0010\u0010\u0007\u001a\u0004\u0008\u0011\u0010\u0008\"\u001e\u0010\u000f\u001a\u00020\t*\u00020\t8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0010\u0010\n\u001a\u0004\u0008\u0011\u0010\u000b\"\u001e\u0010\u000f\u001a\u00020\t*\u00020\u000c8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0010\u0010\r\u001a\u0004\u0008\u0011\u0010\u0012\"\u001f\u0010\u0013\u001a\u00020\u0001*\u00020\u00018\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0014\u0010\u0003\u001a\u0004\u0008\u0015\u0010\u0005\"\u001f\u0010\u0013\u001a\u00020\u0006*\u00020\u00068\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0014\u0010\u0007\u001a\u0004\u0008\u0015\u0010\u0008\u00a8\u0006D"
|
|
}
|
|
d2 = {
|
|
"absoluteValue",
|
|
"",
|
|
"getAbsoluteValue$annotations",
|
|
"(D)V",
|
|
"getAbsoluteValue",
|
|
"(D)D",
|
|
"",
|
|
"(F)V",
|
|
"(F)F",
|
|
"",
|
|
"(I)V",
|
|
"(I)I",
|
|
"",
|
|
"(J)V",
|
|
"(J)J",
|
|
"sign",
|
|
"getSign$annotations",
|
|
"getSign",
|
|
"(J)I",
|
|
"ulp",
|
|
"getUlp$annotations",
|
|
"getUlp",
|
|
"abs",
|
|
"x",
|
|
"n",
|
|
"acos",
|
|
"acosh",
|
|
"asin",
|
|
"asinh",
|
|
"atan",
|
|
"atan2",
|
|
"y",
|
|
"atanh",
|
|
"cbrt",
|
|
"ceil",
|
|
"cos",
|
|
"cosh",
|
|
"exp",
|
|
"expm1",
|
|
"floor",
|
|
"hypot",
|
|
"ln",
|
|
"ln1p",
|
|
"log",
|
|
"base",
|
|
"log10",
|
|
"log2",
|
|
"max",
|
|
"a",
|
|
"b",
|
|
"min",
|
|
"round",
|
|
"sin",
|
|
"sinh",
|
|
"sqrt",
|
|
"tan",
|
|
"tanh",
|
|
"truncate",
|
|
"IEEErem",
|
|
"divisor",
|
|
"nextDown",
|
|
"nextTowards",
|
|
"to",
|
|
"nextUp",
|
|
"pow",
|
|
"roundToInt",
|
|
"roundToLong",
|
|
"withSign",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x5
|
|
mv = {
|
|
0x1,
|
|
0x9,
|
|
0x0
|
|
}
|
|
xi = 0x31
|
|
xs = "kotlin/math/MathKt"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lkotlin/math/MathKt__MathHKt;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final IEEErem(DD)D
|
|
.locals 0
|
|
|
|
.line 524
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->IEEEremainder(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final IEEErem(FF)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
float-to-double p0, p1
|
|
|
|
.line 1070
|
|
invoke-static {v0, v1, p0, p1}, Ljava/lang/Math;->IEEEremainder(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
double-to-float p0, p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final abs(D)D
|
|
.locals 0
|
|
|
|
.line 431
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->abs(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final abs(F)F
|
|
.locals 0
|
|
|
|
.line 978
|
|
invoke-static {p0}, Ljava/lang/Math;->abs(F)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final abs(I)I
|
|
.locals 0
|
|
|
|
.line 1196
|
|
invoke-static {p0}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final abs(J)J
|
|
.locals 0
|
|
|
|
.line 1249
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->abs(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final acos(D)D
|
|
.locals 0
|
|
|
|
.line 88
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->acos(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final acos(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 692
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->acos(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final acosh(D)D
|
|
.locals 6
|
|
|
|
const-wide/high16 v0, 0x3ff0000000000000L # 1.0
|
|
|
|
cmpg-double v0, p0, v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const-wide/high16 p0, 0x7ff8000000000000L # Double.NaN
|
|
|
|
goto :goto_0
|
|
|
|
.line 213
|
|
:cond_0
|
|
sget-wide v0, Lkotlin/math/Constants;->upper_taylor_2_bound:D
|
|
|
|
cmpl-double v0, p0, v0
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
.line 215
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
sget-wide v0, Lkotlin/math/Constants;->LN2:D
|
|
|
|
add-double/2addr p0, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x1
|
|
|
|
int-to-double v0, v0
|
|
|
|
sub-double v2, p0, v0
|
|
|
|
.line 217
|
|
sget-wide v4, Lkotlin/math/Constants;->taylor_n_bound:D
|
|
|
|
cmpl-double v4, v2, v4
|
|
|
|
if-ltz v4, :cond_2
|
|
|
|
mul-double v2, p0, p0
|
|
|
|
sub-double/2addr v2, v0
|
|
|
|
.line 218
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->sqrt(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
add-double/2addr p0, v0
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 221
|
|
:cond_2
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->sqrt(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
.line 224
|
|
sget-wide v0, Lkotlin/math/Constants;->taylor_2_bound:D
|
|
|
|
cmpl-double v0, p0, v0
|
|
|
|
if-ltz v0, :cond_3
|
|
|
|
mul-double v0, p0, p0
|
|
|
|
mul-double/2addr v0, p0
|
|
|
|
const/16 v2, 0xc
|
|
|
|
int-to-double v2, v2
|
|
|
|
div-double/2addr v0, v2
|
|
|
|
sub-double/2addr p0, v0
|
|
|
|
:cond_3
|
|
const-wide/high16 v0, 0x4000000000000000L # 2.0
|
|
|
|
.line 229
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
mul-double/2addr p0, v0
|
|
|
|
:goto_0
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final acosh(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 786
|
|
invoke-static {v0, v1}, Lkotlin/math/MathKt;->acosh(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final asin(D)D
|
|
.locals 0
|
|
|
|
.line 77
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->asin(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final asin(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 681
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->asin(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final asinh(D)D
|
|
.locals 4
|
|
|
|
.line 173
|
|
sget-wide v0, Lkotlin/math/Constants;->taylor_n_bound:D
|
|
|
|
cmpl-double v0, p0, v0
|
|
|
|
if-ltz v0, :cond_2
|
|
|
|
.line 174
|
|
sget-wide v0, Lkotlin/math/Constants;->upper_taylor_n_bound:D
|
|
|
|
cmpl-double v0, p0, v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
.line 175
|
|
sget-wide v2, Lkotlin/math/Constants;->upper_taylor_2_bound:D
|
|
|
|
cmpl-double v0, p0, v2
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
.line 177
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
sget-wide v0, Lkotlin/math/Constants;->LN2:D
|
|
|
|
add-double/2addr p0, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x2
|
|
|
|
int-to-double v2, v0
|
|
|
|
mul-double/2addr p0, v2
|
|
|
|
int-to-double v0, v1
|
|
|
|
div-double/2addr v0, p0
|
|
|
|
add-double/2addr p0, v0
|
|
|
|
.line 180
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
mul-double v2, p0, p0
|
|
|
|
int-to-double v0, v1
|
|
|
|
add-double/2addr v2, v0
|
|
|
|
.line 183
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->sqrt(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
add-double/2addr p0, v0
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 185
|
|
:cond_2
|
|
sget-wide v0, Lkotlin/math/Constants;->taylor_n_bound:D
|
|
|
|
neg-double v0, v0
|
|
|
|
cmpg-double v0, p0, v0
|
|
|
|
if-gtz v0, :cond_3
|
|
|
|
neg-double p0, p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/math/MathKt;->asinh(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
neg-double p0, p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 189
|
|
:cond_3
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->abs(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
sget-wide v2, Lkotlin/math/Constants;->taylor_2_bound:D
|
|
|
|
cmpl-double v0, v0, v2
|
|
|
|
if-ltz v0, :cond_4
|
|
|
|
mul-double v0, p0, p0
|
|
|
|
mul-double/2addr v0, p0
|
|
|
|
const/4 v2, 0x6
|
|
|
|
int-to-double v2, v2
|
|
|
|
div-double/2addr v0, v2
|
|
|
|
sub-double/2addr p0, v0
|
|
|
|
:cond_4
|
|
:goto_0
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final asinh(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 772
|
|
invoke-static {v0, v1}, Lkotlin/math/MathKt;->asinh(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final atan(D)D
|
|
.locals 0
|
|
|
|
.line 99
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->atan(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final atan(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 703
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->atan(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final atan2(DD)D
|
|
.locals 0
|
|
|
|
.line 119
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->atan2(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final atan2(FF)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
float-to-double p0, p1
|
|
|
|
.line 723
|
|
invoke-static {v0, v1, p0, p1}, Ljava/lang/Math;->atan2(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
double-to-float p0, p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final atanh(D)D
|
|
.locals 4
|
|
|
|
.line 246
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->abs(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
sget-wide v2, Lkotlin/math/Constants;->taylor_n_bound:D
|
|
|
|
cmpg-double v0, v0, v2
|
|
|
|
if-gez v0, :cond_1
|
|
|
|
.line 248
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->abs(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
sget-wide v2, Lkotlin/math/Constants;->taylor_2_bound:D
|
|
|
|
cmpl-double v0, v0, v2
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
mul-double v0, p0, p0
|
|
|
|
mul-double/2addr v0, p0
|
|
|
|
const/4 v2, 0x3
|
|
|
|
int-to-double v2, v2
|
|
|
|
div-double/2addr v0, v2
|
|
|
|
add-double/2addr p0, v0
|
|
|
|
:cond_0
|
|
return-wide p0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x1
|
|
|
|
int-to-double v0, v0
|
|
|
|
add-double v2, v0, p0
|
|
|
|
sub-double/2addr v0, p0
|
|
|
|
div-double/2addr v2, v0
|
|
|
|
.line 253
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
int-to-double v0, v0
|
|
|
|
div-double/2addr p0, v0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final atanh(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 801
|
|
invoke-static {v0, v1}, Lkotlin/math/MathKt;->atanh(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final cbrt(D)D
|
|
.locals 0
|
|
|
|
.line 480
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->cbrt(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final cbrt(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 1027
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->cbrt(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final ceil(D)D
|
|
.locals 0
|
|
|
|
.line 381
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final ceil(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 928
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final cos(D)D
|
|
.locals 0
|
|
|
|
.line 57
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->cos(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final cos(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 661
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->cos(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final cosh(D)D
|
|
.locals 0
|
|
|
|
.line 142
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->cosh(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final cosh(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 746
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->cosh(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final exp(D)D
|
|
.locals 0
|
|
|
|
.line 287
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->exp(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final exp(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 834
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->exp(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final expm1(D)D
|
|
.locals 0
|
|
|
|
.line 303
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->expm1(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final expm1(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 850
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->expm1(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final floor(D)D
|
|
.locals 0
|
|
|
|
.line 393
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->floor(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final floor(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 940
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->floor(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final getAbsoluteValue(D)D
|
|
.locals 0
|
|
|
|
.line 536
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->abs(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final getAbsoluteValue(F)F
|
|
.locals 0
|
|
|
|
.line 1082
|
|
invoke-static {p0}, Ljava/lang/Math;->abs(F)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final getAbsoluteValue(I)I
|
|
.locals 0
|
|
|
|
.line 1222
|
|
invoke-static {p0}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final getAbsoluteValue(J)J
|
|
.locals 0
|
|
|
|
.line 1275
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->abs(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static synthetic getAbsoluteValue$annotations(D)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getAbsoluteValue$annotations(F)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getAbsoluteValue$annotations(I)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getAbsoluteValue$annotations(J)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final getSign(D)D
|
|
.locals 0
|
|
|
|
.line 549
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->signum(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final getSign(F)F
|
|
.locals 0
|
|
|
|
.line 1095
|
|
invoke-static {p0}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final getSign(I)I
|
|
.locals 0
|
|
|
|
if-gez p0, :cond_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-lez p0, :cond_1
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final getSign(J)I
|
|
.locals 2
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long p0, p0, v0
|
|
|
|
if-gez p0, :cond_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-lez p0, :cond_1
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic getSign$annotations(D)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getSign$annotations(F)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getSign$annotations(I)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getSign$annotations(J)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final getUlp(D)D
|
|
.locals 0
|
|
|
|
.line 579
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->ulp(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final getUlp(F)F
|
|
.locals 0
|
|
|
|
.line 1125
|
|
invoke-static {p0}, Ljava/lang/Math;->ulp(F)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic getUlp$annotations(D)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getUlp$annotations(F)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final hypot(DD)D
|
|
.locals 0
|
|
|
|
.line 265
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->hypot(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final hypot(FF)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
float-to-double p0, p1
|
|
|
|
.line 812
|
|
invoke-static {v0, v1, p0, p1}, Ljava/lang/Math;->hypot(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
double-to-float p0, p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final ln(D)D
|
|
.locals 0
|
|
|
|
.line 334
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final ln(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 881
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final ln1p(D)D
|
|
.locals 0
|
|
|
|
.line 369
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log1p(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final ln1p(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 916
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->log1p(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final log(DD)D
|
|
.locals 2
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmpg-double v0, p2, v0
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
const-wide/high16 v0, 0x3ff0000000000000L # 1.0
|
|
|
|
cmpg-double v0, p2, v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 320
|
|
:cond_0
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p2, p3}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p2
|
|
|
|
div-double/2addr p0, p2
|
|
|
|
return-wide p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const-wide/high16 p0, 0x7ff8000000000000L # Double.NaN
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final log(FF)F
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
cmpg-float v0, p1, v0
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
cmpg-float v0, p1, v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
float-to-double v0, p0
|
|
|
|
.line 867
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
float-to-double p0, p1
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
div-double/2addr v0, p0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/high16 p0, 0x7fc00000 # Float.NaN
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final log10(D)D
|
|
.locals 0
|
|
|
|
.line 343
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log10(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final log10(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 890
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->log10(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final log2(D)D
|
|
.locals 2
|
|
|
|
.line 351
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
sget-wide v0, Lkotlin/math/Constants;->LN2:D
|
|
|
|
div-double/2addr p0, v0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final log2(F)F
|
|
.locals 4
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 898
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->log(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
sget-wide v2, Lkotlin/math/Constants;->LN2:D
|
|
|
|
div-double/2addr v0, v2
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final max(DD)D
|
|
.locals 0
|
|
|
|
.line 464
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->max(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final max(FF)F
|
|
.locals 0
|
|
|
|
.line 1011
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->max(FF)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final max(II)I
|
|
.locals 0
|
|
|
|
.line 1210
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final max(JJ)J
|
|
.locals 0
|
|
|
|
.line 1263
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->max(JJ)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final min(DD)D
|
|
.locals 0
|
|
|
|
.line 455
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->min(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final min(FF)F
|
|
.locals 0
|
|
|
|
.line 1002
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final min(II)I
|
|
.locals 0
|
|
|
|
.line 1203
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final min(JJ)J
|
|
.locals 0
|
|
|
|
.line 1256
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final nextDown(D)D
|
|
.locals 2
|
|
|
|
const-wide/high16 v0, -0x10000000000000L # Double.NEGATIVE_INFINITY
|
|
|
|
.line 593
|
|
invoke-static {p0, p1, v0, v1}, Ljava/lang/Math;->nextAfter(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final nextDown(F)F
|
|
.locals 2
|
|
|
|
const-wide/high16 v0, -0x10000000000000L # Double.NEGATIVE_INFINITY
|
|
|
|
.line 1139
|
|
invoke-static {p0, v0, v1}, Ljava/lang/Math;->nextAfter(FD)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final nextTowards(DD)D
|
|
.locals 0
|
|
|
|
.line 605
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->nextAfter(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final nextTowards(FF)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p1
|
|
|
|
.line 1151
|
|
invoke-static {p0, v0, v1}, Ljava/lang/Math;->nextAfter(FD)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final nextUp(D)D
|
|
.locals 0
|
|
|
|
.line 586
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->nextUp(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final nextUp(F)F
|
|
.locals 0
|
|
|
|
.line 1132
|
|
invoke-static {p0}, Ljava/lang/Math;->nextUp(F)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final pow(DD)D
|
|
.locals 0
|
|
|
|
.line 499
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->pow(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final pow(DI)D
|
|
.locals 2
|
|
|
|
int-to-double v0, p2
|
|
|
|
.line 508
|
|
invoke-static {p0, p1, v0, v1}, Ljava/lang/Math;->pow(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final pow(FF)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
float-to-double p0, p1
|
|
|
|
.line 1045
|
|
invoke-static {v0, v1, p0, p1}, Ljava/lang/Math;->pow(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
double-to-float p0, p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final pow(FI)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
int-to-double p0, p1
|
|
|
|
.line 1054
|
|
invoke-static {v0, v1, p0, p1}, Ljava/lang/Math;->pow(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
double-to-float p0, p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final round(D)D
|
|
.locals 0
|
|
|
|
.line 418
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->rint(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final round(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 965
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->rint(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final roundToInt(D)I
|
|
.locals 2
|
|
|
|
.line 619
|
|
invoke-static {p0, p1}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
const-wide v0, 0x41dfffffffc00000L # 2.147483647E9
|
|
|
|
cmpl-double v0, p0, v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
const p0, 0x7fffffff
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/high16 v0, -0x3e20000000000000L # -2.147483648E9
|
|
|
|
cmpg-double v0, p0, v0
|
|
|
|
if-gez v0, :cond_1
|
|
|
|
const/high16 p0, -0x80000000
|
|
|
|
goto :goto_0
|
|
|
|
.line 622
|
|
:cond_1
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->round(D)J
|
|
|
|
move-result-wide p0
|
|
|
|
long-to-int p0, p0
|
|
|
|
:goto_0
|
|
return p0
|
|
|
|
.line 619
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Cannot round NaN value."
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final roundToInt(F)I
|
|
.locals 1
|
|
|
|
.line 1165
|
|
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
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final roundToLong(D)J
|
|
.locals 1
|
|
|
|
.line 637
|
|
invoke-static {p0, p1}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->round(D)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Cannot round NaN value."
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final roundToLong(F)J
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 1178
|
|
invoke-static {v0, v1}, Lkotlin/math/MathKt;->roundToLong(D)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method private static final sign(D)D
|
|
.locals 0
|
|
|
|
.line 444
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->signum(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final sign(F)F
|
|
.locals 0
|
|
|
|
.line 991
|
|
invoke-static {p0}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final sin(D)D
|
|
.locals 0
|
|
|
|
.line 48
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->sin(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final sin(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 652
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->sin(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final sinh(D)D
|
|
.locals 0
|
|
|
|
.line 131
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->sinh(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final sinh(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 735
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->sinh(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final sqrt(D)D
|
|
.locals 0
|
|
|
|
.line 275
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->sqrt(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final sqrt(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 822
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final tan(D)D
|
|
.locals 0
|
|
|
|
.line 66
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->tan(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final tan(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 670
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->tan(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final tanh(D)D
|
|
.locals 0
|
|
|
|
.line 154
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->tanh(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final tanh(F)F
|
|
.locals 2
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 758
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->tanh(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-float p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final truncate(D)D
|
|
.locals 2
|
|
|
|
.line 405
|
|
invoke-static {p0, p1}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Double;->isInfinite(D)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmpl-double v0, p0, v0
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
.line 406
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->floor(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 407
|
|
:cond_1
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
move-result-wide p0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final truncate(F)F
|
|
.locals 2
|
|
|
|
.line 952
|
|
invoke-static {p0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
invoke-static {p0}, Ljava/lang/Float;->isInfinite(F)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
cmpl-float v0, p0, v0
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
float-to-double v0, p0
|
|
|
|
.line 953
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->floor(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
float-to-double v0, p0
|
|
|
|
.line 954
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->ceil(D)D
|
|
|
|
move-result-wide v0
|
|
|
|
:goto_0
|
|
double-to-float p0, v0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final withSign(DD)D
|
|
.locals 0
|
|
|
|
.line 558
|
|
invoke-static {p0, p1, p2, p3}, Ljava/lang/Math;->copySign(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final withSign(DI)D
|
|
.locals 2
|
|
|
|
int-to-double v0, p2
|
|
|
|
.line 565
|
|
invoke-static {p0, p1, v0, v1}, Ljava/lang/Math;->copySign(DD)D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final withSign(FF)F
|
|
.locals 0
|
|
|
|
.line 1104
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->copySign(FF)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final withSign(FI)F
|
|
.locals 0
|
|
|
|
int-to-float p1, p1
|
|
|
|
.line 1111
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->copySign(FF)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|