Home
last modified time | relevance | path

Searched refs:halfValue (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java644 assertEquals(POSITIVE_INFINITY, new Half(POSITIVE_INFINITY).halfValue()); in constructors()
645 assertEquals(NEGATIVE_INFINITY, new Half(NEGATIVE_INFINITY).halfValue()); in constructors()
646 assertEquals(POSITIVE_ZERO, new Half(POSITIVE_ZERO).halfValue()); in constructors()
647 assertEquals(NEGATIVE_ZERO, new Half(NEGATIVE_ZERO).halfValue()); in constructors()
648 assertEquals(NaN, new Half(NaN).halfValue()); in constructors()
649 assertEquals(toHalf(12.57f), new Half(toHalf(12.57f)).halfValue()); in constructors()
650 assertEquals(toHalf(-12.57f), new Half(toHalf(-12.57f)).halfValue()); in constructors()
652 assertEquals(POSITIVE_INFINITY, new Half(Float.POSITIVE_INFINITY).halfValue()); in constructors()
653 assertEquals(NEGATIVE_INFINITY, new Half(Float.NEGATIVE_INFINITY).halfValue()); in constructors()
654 assertEquals(POSITIVE_ZERO, new Half(0.0f).halfValue()); in constructors()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java315 short halfValue = (short) (halfExponent | halfMantissa); in convertDoubleToFloat16() local
316 return (isNegative) ? (short) (0x8000 | halfValue) : halfValue; in convertDoubleToFloat16()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt49923 method @HalfFloat public short halfValue();