Home
last modified time | relevance | path

Searched refs:MANTISSA_MASK (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java31 private static short MANTISSA_MASK = (short) 0x03FF; field in Float16Utils
44 (val & MANTISSA_MASK) != 0; in isFloat16NaN()
50 (val & MANTISSA_MASK) == 0; in isFloat16Infinite()
55 return (val & EXPONENT_MASK) == 0 && (val & MANTISSA_MASK) != 0; in isFloat16SubNormal()
77 int mantissa = val & MANTISSA_MASK; in convertFloat16ToFloat()
Dfloat16_gen.c85 static unsigned short MANTISSA_MASK = 0x03FF; variable
90 (val & MANTISSA_MASK) != 0; in isFloat16NaN()
96 (val & MANTISSA_MASK) == 0; in isFloat16Infinite()
101 return (val & EXPONENT_MASK) == 0 && (val & MANTISSA_MASK) != 0; in isFloat16SubNormal()