package com.bytedance.adsdk.ro.ajl;

/* JADX INFO: loaded from: classes.dex */
public class yz {
    private float fm;
    private int ro;

    public void fm(float f10) {
        float f11 = this.fm + f10;
        this.fm = f11;
        int i10 = this.ro + 1;
        this.ro = i10;
        if (i10 == Integer.MAX_VALUE) {
            this.fm = f11 / 2.0f;
            this.ro = i10 / 2;
        }
    }
}
