Files
rr3-apk/decompiled-community/sources/kotlin/math/MathKt__MathJVMKt.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

25 lines
686 B
Java

package kotlin.math;
/* loaded from: classes5.dex */
public abstract class MathKt__MathJVMKt extends MathKt__MathHKt {
public static int roundToInt(double d) {
if (Double.isNaN(d)) {
throw new IllegalArgumentException("Cannot round NaN value.");
}
if (d > 2.147483647E9d) {
return Integer.MAX_VALUE;
}
if (d < -2.147483648E9d) {
return Integer.MIN_VALUE;
}
return (int) Math.round(d);
}
public static int roundToInt(float f) {
if (Float.isNaN(f)) {
throw new IllegalArgumentException("Cannot round NaN value.");
}
return Math.round(f);
}
}