Rabbit-R1/switch port/java/sources/kotlin/math/Constants.java
2024-05-21 17:08:36 -04:00

31 lines
1.7 KiB
Java

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\\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, 9, 0}, xi = 48)
/* loaded from: classes3.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;
}
}