1 /* 2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package sun.misc; 27 28 @SuppressWarnings({"unchecked", "deprecation", "all"}) 29 public class FpUtils { 30 FpUtils()31 private FpUtils() { 32 throw new RuntimeException("Stub!"); 33 } 34 35 @Deprecated getExponent(double d)36 public static int getExponent(double d) { 37 throw new RuntimeException("Stub!"); 38 } 39 40 @Deprecated getExponent(float f)41 public static int getExponent(float f) { 42 throw new RuntimeException("Stub!"); 43 } 44 45 @Deprecated 46 @android.compat.annotation.UnsupportedAppUsage rawCopySign(double magnitude, double sign)47 public static double rawCopySign(double magnitude, double sign) { 48 throw new RuntimeException("Stub!"); 49 } 50 51 @Deprecated rawCopySign(float magnitude, float sign)52 public static float rawCopySign(float magnitude, float sign) { 53 throw new RuntimeException("Stub!"); 54 } 55 56 @Deprecated isFinite(double d)57 public static boolean isFinite(double d) { 58 throw new RuntimeException("Stub!"); 59 } 60 61 @Deprecated isFinite(float f)62 public static boolean isFinite(float f) { 63 throw new RuntimeException("Stub!"); 64 } 65 isInfinite(double d)66 public static boolean isInfinite(double d) { 67 throw new RuntimeException("Stub!"); 68 } 69 isInfinite(float f)70 public static boolean isInfinite(float f) { 71 throw new RuntimeException("Stub!"); 72 } 73 isNaN(double d)74 public static boolean isNaN(double d) { 75 throw new RuntimeException("Stub!"); 76 } 77 isNaN(float f)78 public static boolean isNaN(float f) { 79 throw new RuntimeException("Stub!"); 80 } 81 isUnordered(double arg1, double arg2)82 public static boolean isUnordered(double arg1, double arg2) { 83 throw new RuntimeException("Stub!"); 84 } 85 isUnordered(float arg1, float arg2)86 public static boolean isUnordered(float arg1, float arg2) { 87 throw new RuntimeException("Stub!"); 88 } 89 ilogb(double d)90 public static int ilogb(double d) { 91 throw new RuntimeException("Stub!"); 92 } 93 ilogb(float f)94 public static int ilogb(float f) { 95 throw new RuntimeException("Stub!"); 96 } 97 98 @Deprecated scalb(double d, int scale_factor)99 public static double scalb(double d, int scale_factor) { 100 throw new RuntimeException("Stub!"); 101 } 102 103 @Deprecated scalb(float f, int scale_factor)104 public static float scalb(float f, int scale_factor) { 105 throw new RuntimeException("Stub!"); 106 } 107 108 @Deprecated nextAfter(double start, double direction)109 public static double nextAfter(double start, double direction) { 110 throw new RuntimeException("Stub!"); 111 } 112 113 @Deprecated nextAfter(float start, double direction)114 public static float nextAfter(float start, double direction) { 115 throw new RuntimeException("Stub!"); 116 } 117 118 @Deprecated nextUp(double d)119 public static double nextUp(double d) { 120 throw new RuntimeException("Stub!"); 121 } 122 123 @Deprecated nextUp(float f)124 public static float nextUp(float f) { 125 throw new RuntimeException("Stub!"); 126 } 127 128 @Deprecated nextDown(double d)129 public static double nextDown(double d) { 130 throw new RuntimeException("Stub!"); 131 } 132 133 @Deprecated nextDown(float f)134 public static double nextDown(float f) { 135 throw new RuntimeException("Stub!"); 136 } 137 138 @Deprecated copySign(double magnitude, double sign)139 public static double copySign(double magnitude, double sign) { 140 throw new RuntimeException("Stub!"); 141 } 142 143 @Deprecated copySign(float magnitude, float sign)144 public static float copySign(float magnitude, float sign) { 145 throw new RuntimeException("Stub!"); 146 } 147 148 @Deprecated ulp(double d)149 public static double ulp(double d) { 150 throw new RuntimeException("Stub!"); 151 } 152 153 @Deprecated ulp(float f)154 public static float ulp(float f) { 155 throw new RuntimeException("Stub!"); 156 } 157 158 @Deprecated signum(double d)159 public static double signum(double d) { 160 throw new RuntimeException("Stub!"); 161 } 162 163 @Deprecated signum(float f)164 public static float signum(float f) { 165 throw new RuntimeException("Stub!"); 166 } 167 168 @android.compat.annotation.UnsupportedAppUsage private static boolean $assertionsDisabled; 169 } 170