.class public Landroidx/core/math/MathUtils; .super Ljava/lang/Object; .source "MathUtils.java" # direct methods .method private constructor ()V .registers 1 .line 24 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static clamp(DDD)D .registers 7 cmpg-double v0, p0, p2 if-gez v0, :cond_5 return-wide p2 :cond_5 cmpl-double p2, p0, p4 if-lez p2, :cond_a return-wide p4 :cond_a return-wide p0 .end method .method public static clamp(FFF)F .registers 4 cmpg-float v0, p0, p1 if-gez v0, :cond_5 return p1 :cond_5 cmpl-float p1, p0, p2 if-lez p1, :cond_a return p2 :cond_a return p0 .end method .method public static clamp(III)I .registers 3 if-ge p0, p1, :cond_3 return p1 :cond_3 if-le p0, p2, :cond_6 return p2 :cond_6 return p0 .end method