what-the-bank/sources/o/Eal.java

75 lines
2.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes.dex */
final class Eal {
static final Eal b;
final float a;
final float c;
final float d;
final float e;
final float[] f;
final float g;
final float h;
final float i;
final float j = 1.0f;
/* renamed from: o, reason: collision with root package name */
final float f8149o;
static {
float[] fArr = C16404nyu.e;
float b2 = (float) ((C16404nyu.b() * 63.66197723675813d) / 100.0d);
float[][] fArr2 = C16404nyu.b;
float f = fArr[0];
float[] fArr3 = fArr2[0];
float f2 = fArr3[0];
float f3 = fArr[1];
float f4 = fArr3[1];
float f5 = fArr[2];
float f6 = (f2 * f) + (f4 * f3) + (fArr3[2] * f5);
float[] fArr4 = fArr2[1];
float f7 = (fArr4[0] * f) + (fArr4[1] * f3) + (fArr4[2] * f5);
float[] fArr5 = fArr2[2];
float f8 = (f * fArr5[0]) + (f3 * fArr5[1]) + (f5 * fArr5[2]);
C16404nyu.d();
float exp = 1.0f - (((float) Math.exp(((-b2) - 42.0f) / 92.0f)) * 0.2777778f);
double d = exp;
if (d > 1.0d) {
exp = 1.0f;
} else if (d < 0.0d) {
exp = BitmapDescriptorFactory.HUE_RED;
}
float[] fArr6 = {(((100.0f / f6) * exp) + 1.0f) - exp, (((100.0f / f7) * exp) + 1.0f) - exp, (((100.0f / f8) * exp) + 1.0f) - exp};
float f9 = 1.0f / ((5.0f * b2) + 1.0f);
float f10 = f9 * f9 * f9 * f9;
float f11 = 1.0f - f10;
float cbrt = (0.1f * f11 * f11 * ((float) Math.cbrt(b2 * 5.0d))) + (f10 * b2);
float b3 = C16404nyu.b() / fArr[1];
double d2 = b3;
float sqrt = (float) Math.sqrt(d2);
float pow = 0.725f / ((float) Math.pow(d2, 0.2d));
float pow2 = (float) Math.pow(((fArr6[0] * cbrt) * f6) / 100.0d, 0.42d);
float pow3 = (float) Math.pow(((fArr6[1] * cbrt) * f7) / 100.0d, 0.42d);
float pow4 = (float) Math.pow(((fArr6[2] * cbrt) * f8) / 100.0d, 0.42d);
float[] fArr7 = {pow2, pow3, pow4};
float f12 = fArr7[0];
float f13 = (f12 * 400.0f) / (f12 + 27.13f);
float f14 = fArr7[1];
b = new Eal(b3, ((f13 * 2.0f) + ((f14 * 400.0f) / (f14 + 27.13f)) + (((400.0f * pow4) / (pow4 + 27.13f)) * 0.05f)) * pow, pow, pow, 0.69f, fArr6, cbrt, (float) Math.pow(cbrt, 0.25d), sqrt + 1.48f);
}
private Eal(float f, float f2, float f3, float f4, float f5, float[] fArr, float f6, float f7, float f8) {
this.i = f;
this.c = f2;
this.g = f3;
this.h = f4;
this.a = f5;
this.f = fArr;
this.e = f6;
this.d = f7;
this.f8149o = f8;
}
}