ADD week 5
This commit is contained in:
31
02-Easy5/E5/sources/kotlin/math/Constants.java
Normal file
31
02-Easy5/E5/sources/kotlin/math/Constants.java
Normal file
@ -0,0 +1,31 @@
|
||||
package kotlin.math;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: MathJVM.kt */
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0006\n\u0002\b\u0006\bÂ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0010\u0010\u0003\u001a\u00020\u00048\u0000X\u0081\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0005\u001a\u00020\u00048\u0000X\u0081\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0006\u001a\u00020\u00048\u0000X\u0081\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0007\u001a\u00020\u00048\u0000X\u0081\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\b\u001a\u00020\u00048\u0000X\u0081\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\t\u001a\u00020\u00048\u0000X\u0081\u0004¢\u0006\u0002\n\u0000¨\u0006\n"}, d2 = {"Lkotlin/math/Constants;", "", "()V", "LN2", "", "epsilon", "taylor_2_bound", "taylor_n_bound", "upper_taylor_2_bound", "upper_taylor_n_bound", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
final class Constants {
|
||||
public static final Constants INSTANCE = new Constants();
|
||||
public static final double LN2 = Math.log(2.0d);
|
||||
public static final double epsilon;
|
||||
public static final double taylor_2_bound;
|
||||
public static final double taylor_n_bound;
|
||||
public static final double upper_taylor_2_bound;
|
||||
public static final double upper_taylor_n_bound;
|
||||
|
||||
private Constants() {
|
||||
}
|
||||
|
||||
static {
|
||||
double ulp = Math.ulp(1.0d);
|
||||
epsilon = ulp;
|
||||
double sqrt = Math.sqrt(ulp);
|
||||
taylor_2_bound = sqrt;
|
||||
double sqrt2 = Math.sqrt(sqrt);
|
||||
taylor_n_bound = sqrt2;
|
||||
double d = 1;
|
||||
upper_taylor_2_bound = d / sqrt;
|
||||
upper_taylor_n_bound = d / sqrt2;
|
||||
}
|
||||
}
|
13
02-Easy5/E5/sources/kotlin/math/MathKt.java
Normal file
13
02-Easy5/E5/sources/kotlin/math/MathKt.java
Normal file
@ -0,0 +1,13 @@
|
||||
package kotlin.math;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"kotlin/math/MathKt__MathHKt", "kotlin/math/MathKt__MathJVMKt"}, k = 4, mv = {1, 8, 0}, xi = 49)
|
||||
/* loaded from: classes.dex */
|
||||
public final class MathKt extends MathKt__MathJVMKt {
|
||||
public static final double E = 2.718281828459045d;
|
||||
public static final double PI = 3.141592653589793d;
|
||||
|
||||
private MathKt() {
|
||||
}
|
||||
}
|
14
02-Easy5/E5/sources/kotlin/math/MathKt__MathHKt.java
Normal file
14
02-Easy5/E5/sources/kotlin/math/MathKt__MathHKt.java
Normal file
@ -0,0 +1,14 @@
|
||||
package kotlin.math;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
/* compiled from: MathH.kt */
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0005\"\u0016\u0010\u0000\u001a\u00020\u00018\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0002\u0010\u0003\"\u0016\u0010\u0004\u001a\u00020\u00018\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0005\u0010\u0003¨\u0006\u0006"}, d2 = {"E", "", "getE$annotations", "()V", "PI", "getPI$annotations", "kotlin-stdlib"}, k = 5, mv = {1, 8, 0}, xi = 49, xs = "kotlin/math/MathKt")
|
||||
/* loaded from: classes.dex */
|
||||
class MathKt__MathHKt {
|
||||
public static /* synthetic */ void getE$annotations() {
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getPI$annotations() {
|
||||
}
|
||||
}
|
503
02-Easy5/E5/sources/kotlin/math/MathKt__MathJVMKt.java
Normal file
503
02-Easy5/E5/sources/kotlin/math/MathKt__MathJVMKt.java
Normal file
File diff suppressed because one or more lines are too long
29
02-Easy5/E5/sources/kotlin/math/UMathKt.java
Normal file
29
02-Easy5/E5/sources/kotlin/math/UMathKt.java
Normal file
@ -0,0 +1,29 @@
|
||||
package kotlin.math;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.comparisons.UComparisonsKt;
|
||||
|
||||
/* compiled from: UMath.kt */
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0006\u001a#\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0001H\u0087\bø\u0001\u0000¢\u0006\u0004\b\u0004\u0010\u0005\u001a#\u0010\u0000\u001a\u00020\u00062\u0006\u0010\u0002\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u0006H\u0087\bø\u0001\u0000¢\u0006\u0004\b\u0007\u0010\b\u001a#\u0010\t\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0001H\u0087\bø\u0001\u0000¢\u0006\u0004\b\n\u0010\u0005\u001a#\u0010\t\u001a\u00020\u00062\u0006\u0010\u0002\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u0006H\u0087\bø\u0001\u0000¢\u0006\u0004\b\u000b\u0010\b\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\f"}, d2 = {"max", "Lkotlin/UInt;", "a", "b", "max-J1ME1BU", "(II)I", "Lkotlin/ULong;", "max-eb3DHEI", "(JJ)J", "min", "min-J1ME1BU", "min-eb3DHEI", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class UMathKt {
|
||||
/* renamed from: min-J1ME1BU, reason: not valid java name */
|
||||
private static final int m1537minJ1ME1BU(int i, int i2) {
|
||||
return UComparisonsKt.m1495minOfJ1ME1BU(i, i2);
|
||||
}
|
||||
|
||||
/* renamed from: min-eb3DHEI, reason: not valid java name */
|
||||
private static final long m1538mineb3DHEI(long j, long j2) {
|
||||
return UComparisonsKt.m1503minOfeb3DHEI(j, j2);
|
||||
}
|
||||
|
||||
/* renamed from: max-J1ME1BU, reason: not valid java name */
|
||||
private static final int m1535maxJ1ME1BU(int i, int i2) {
|
||||
return UComparisonsKt.m1483maxOfJ1ME1BU(i, i2);
|
||||
}
|
||||
|
||||
/* renamed from: max-eb3DHEI, reason: not valid java name */
|
||||
private static final long m1536maxeb3DHEI(long j, long j2) {
|
||||
return UComparisonsKt.m1491maxOfeb3DHEI(j, j2);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user