Searched refs:copySign (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/util/src/android/util/cts/ |
D | HalfTest.java | 295 public void copySign() { in copySign() method in HalfTest 296 assertShortEquals(toHalf(7.5f), Half.copySign(toHalf(-7.5f), POSITIVE_INFINITY)); in copySign() 297 assertShortEquals(toHalf(7.5f), Half.copySign(toHalf(-7.5f), POSITIVE_ZERO)); in copySign() 298 assertShortEquals(toHalf(-7.5f), Half.copySign(toHalf(7.5f), NEGATIVE_INFINITY)); in copySign() 299 assertShortEquals(toHalf(-7.5f), Half.copySign(toHalf(7.5f), NEGATIVE_ZERO)); in copySign() 300 assertShortEquals(toHalf(7.5f), Half.copySign(toHalf(7.5f), NaN)); in copySign() 301 assertShortEquals(toHalf(7.5f), Half.copySign(toHalf(7.5f), toHalf(12.4f))); in copySign() 302 assertShortEquals(toHalf(-7.5f), Half.copySign(toHalf(7.5f), toHalf(-12.4f))); in copySign()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSUtils.java | 185 minValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, minValueInHalf); in genRandomFloat16s() 188 maxValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, maxValueInHalf); in genRandomFloat16s()
|
D | CoreMathVerifier.java | 418 return t.newFloaty(Math.copySign(magnitude, sign)); in copysign() 908 value = Math.copySign(pow(Math.abs(inV), 1.f / inN), in rootn() 1732 args.out = t.new32(Math.copySign(args.inMagnitudeValue, args.inSignValue)); in computeCopysign()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 49910 method @HalfFloat public static short copySign(@HalfFloat short, @HalfFloat short);
|