/libcore/ojluni/src/main/java/sun/misc/ |
FpUtils.java | 156 * FpUtils#copySign(double, double) copySign} method, this method 167 * @deprecated Use Math.copySign. 171 return Math.copySign(magnitude, sign); 177 * FpUtils#copySign(float, float) copySign} method, this method 188 * @deprecated Use Math.copySign. 192 return Math.copySign(magnitude, sign); 803 * @deprecated Use StrictMath.copySign. 806 public static double copySign(double magnitude, double sign) [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 450 double sign = Math.copySign(1.0, a); // preserve sign info [all...] |
Math.java | [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
HalfTest.java | 246 public void copySign() { 247 assertShortEquals(toHalf(7.5f), Half.copySign(toHalf(-7.5f), POSITIVE_INFINITY)); 248 assertShortEquals(toHalf(7.5f), Half.copySign(toHalf(-7.5f), POSITIVE_ZERO)); 249 assertShortEquals(toHalf(-7.5f), Half.copySign(toHalf(7.5f), NEGATIVE_INFINITY)); 250 assertShortEquals(toHalf(-7.5f), Half.copySign(toHalf(7.5f), NEGATIVE_ZERO)); 251 assertShortEquals(toHalf(7.5f), Half.copySign(toHalf(7.5f), NaN)); 252 assertShortEquals(toHalf(7.5f), Half.copySign(toHalf(7.5f), toHalf(12.4f))); 253 assertShortEquals(toHalf(-7.5f), Half.copySign(toHalf(7.5f), toHalf(-12.4f))); [all...] |
/external/llvm/include/llvm/ADT/ |
APFloat.h | 349 void copySign(const APFloat &); 353 static APFloat copySign(APFloat Value, const APFloat &Sign) { 354 Value.copySign(Sign);
|
/libcore/benchmarks/src/benchmarks/regression/ |
StrictMathBenchmark.java | 123 StrictMath.copySign(d, d); 129 StrictMath.copySign(f, f);
|
/frameworks/base/core/java/android/util/ |
Half.java | 508 public static @HalfFloat short copySign(@HalfFloat short magnitude, @HalfFloat short sign) { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StrictMathTest.java | 179 * {@link java.lang.StrictMath#copySign(double, double)} 194 .copySign(magnitude, Double.NaN))); 196 .copySign(Double.NaN, magnitude))); 201 .copySign(magnitude, sign)); 218 .copySign(Double.NaN, Double.NaN))); 221 StrictMath.copySign((Double) null, 2.3); 227 StrictMath.copySign(2.3, (Double) null); 233 StrictMath.copySign((Double) null, (Double) null); 240 assertEquals(1.0, StrictMath.copySign(1.0, d), 0d); 244 * {@link java.lang.StrictMath#copySign(float, float) [all...] |
MathTest.java | 163 * {@link java.lang.Math#copySign(double, double)} 177 absMagnitudeBits, Double.doubleToLongBits(Math.copySign( 179 assertTrue("The result should be NaN.", Double.isNaN(Math.copySign( 184 final long resultBits = Double.doubleToLongBits(Math.copySign( 201 assertTrue("The result should be NaN.", Double.isNaN(Math.copySign( 205 Math.copySign((Double) null, 2.3); 211 Math.copySign(2.3, (Double) null); 217 Math.copySign((Double) null, (Double) null); 235 * {@link java.lang.Math#copySign(float, float)} 249 absMagnitudeBits, Float.floatToIntBits(Math.copySign( [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
APFloat.h | 297 void copySign(const IEEEFloat &); 301 static IEEEFloat copySign(IEEEFloat Value, const IEEEFloat &Sign) { 302 Value.copySign(Sign); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/ADT/ |
APFloat.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/ADT/ |
APFloat.h | [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
FastMath.java | 30 * <li>{@link #copySign(double, double)}</li> 35 * <li>{@link #copySign(float, float)}</li> [all...] |