package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Fs, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0148Fs implements Comparable {
    public final float l;

    public static final boolean a(float f, float f2) {
        return Float.compare(f, f2) == 0;
    }

    public static String b(float f) {
        if (Float.isNaN(f)) {
            return "Dp.Unspecified";
        }
        return f + ".dp";
    }

    @Override // java.lang.Comparable
    public final int compareTo(Object obj) {
        return Float.compare(this.l, ((C0148Fs) obj).l);
    }

    public final boolean equals(Object obj) {
        if (obj instanceof C0148Fs) {
            return Float.compare(this.l, ((C0148Fs) obj).l) == 0;
        }
        return false;
    }

    public final int hashCode() {
        return Float.hashCode(this.l);
    }

    public final String toString() {
        return b(this.l);
    }
}
