libcore/ojluni/annotations/hiddenapi/sun/misc/FpUtils.java

170 lines
4.6 KiB
Java
Raw Normal View History

2025-08-25 08:35:08 +08:00
/*
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.misc;
@SuppressWarnings({"unchecked", "deprecation", "all"})
public class FpUtils {
private FpUtils() {
throw new RuntimeException("Stub!");
}
@Deprecated
public static int getExponent(double d) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static int getExponent(float f) {
throw new RuntimeException("Stub!");
}
@Deprecated
@android.compat.annotation.UnsupportedAppUsage
public static double rawCopySign(double magnitude, double sign) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static float rawCopySign(float magnitude, float sign) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static boolean isFinite(double d) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static boolean isFinite(float f) {
throw new RuntimeException("Stub!");
}
public static boolean isInfinite(double d) {
throw new RuntimeException("Stub!");
}
public static boolean isInfinite(float f) {
throw new RuntimeException("Stub!");
}
public static boolean isNaN(double d) {
throw new RuntimeException("Stub!");
}
public static boolean isNaN(float f) {
throw new RuntimeException("Stub!");
}
public static boolean isUnordered(double arg1, double arg2) {
throw new RuntimeException("Stub!");
}
public static boolean isUnordered(float arg1, float arg2) {
throw new RuntimeException("Stub!");
}
public static int ilogb(double d) {
throw new RuntimeException("Stub!");
}
public static int ilogb(float f) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static double scalb(double d, int scale_factor) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static float scalb(float f, int scale_factor) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static double nextAfter(double start, double direction) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static float nextAfter(float start, double direction) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static double nextUp(double d) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static float nextUp(float f) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static double nextDown(double d) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static double nextDown(float f) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static double copySign(double magnitude, double sign) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static float copySign(float magnitude, float sign) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static double ulp(double d) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static float ulp(float f) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static double signum(double d) {
throw new RuntimeException("Stub!");
}
@Deprecated
public static float signum(float f) {
throw new RuntimeException("Stub!");
}
@android.compat.annotation.UnsupportedAppUsage private static boolean $assertionsDisabled;
}