Home
last modified time | relevance | path

Searched refs:copySign (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java295 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/
DRSUtils.java185 minValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, minValueInHalf); in genRandomFloat16s()
188 maxValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, maxValueInHalf); in genRandomFloat16s()
DCoreMathVerifier.java418 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/
Dcurrent.txt49910 method @HalfFloat public static short copySign(@HalfFloat short, @HalfFloat short);