HomeSort by relevance Sort by last modified time
    Searched refs:intBitsToHalf (Results 1 - 4 of 4) sorted by null

  /cts/tests/tests/util/src/android/util/cts/
HalfTest.java 541 assertShortEquals(POSITIVE_INFINITY, intBitsToHalf(halfToIntBits(POSITIVE_INFINITY)));
542 assertShortEquals(NEGATIVE_INFINITY, intBitsToHalf(halfToIntBits(NEGATIVE_INFINITY)));
543 assertShortEquals(POSITIVE_ZERO, intBitsToHalf(halfToIntBits(POSITIVE_ZERO)));
544 assertShortEquals(NEGATIVE_ZERO, intBitsToHalf(halfToIntBits(NEGATIVE_ZERO)));
545 assertShortEquals(NaN, intBitsToHalf(halfToIntBits(NaN)));
546 assertShortEquals(NaN, intBitsToHalf(halfToIntBits((short) 0xfc98)));
547 assertShortEquals(toHalf(12.462f), intBitsToHalf(halfToIntBits(toHalf(12.462f))));
548 assertShortEquals(toHalf(-12.462f), intBitsToHalf(halfToIntBits(toHalf(-12.462f))));
    [all...]
  /frameworks/base/core/java/android/util/
Half.java 460 * @see #intBitsToHalf(int)
478 * @see #intBitsToHalf(int)
495 public static @HalfFloat short intBitsToHalf(int bits) {
    [all...]
  /prebuilts/sdk/26/
android.jar 
  /prebuilts/sdk/27/
android.jar 

Completed in 71 milliseconds