blob: a452feaa0c3e85df5d8551a40513eb98f586f724 [file] [log] [blame]
// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.ir.desugar.backports;
public final class FloatMethods {
public static boolean isFinite(float f) {
return !Float.isInfinite(f) && !Float.isNaN(f);
}
}