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

19 lines
687 B
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: classes2.dex */
public final class qRE {
private static float d(float f, float f2, float f3, float f4) {
return (f <= f2 || f <= f3 || f <= f4) ? (f2 <= f3 || f2 <= f4) ? f3 > f4 ? f3 : f4 : f2 : f;
}
public static float e(float f, float f2, float f3, float f4) {
double d = BitmapDescriptorFactory.HUE_RED - f;
double d2 = BitmapDescriptorFactory.HUE_RED - f2;
double d3 = f3 - f;
double d4 = f4 - f2;
return d((float) Math.hypot(d, d2), (float) Math.hypot(d3, d2), (float) Math.hypot(d3, d4), (float) Math.hypot(d, d4));
}
}