Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java127 long valueBits = Double.doubleToLongBits(value); in roundToFloat16() local
128 long mantissa = valueBits & DOUBLE_MANTISSA_MASK; // 52-bit mantissa in roundToFloat16()
129 long exponent = valueBits & DOUBLE_EXPONENT_MASK; // 11-bit exponent in roundToFloat16()
131 boolean isNegative = (valueBits & DOUBLE_SIGN_MASK) != 0; in roundToFloat16()
230 long valueBits = Double.doubleToLongBits(value); in float16Ulp() local
231 long mantissa = valueBits & DOUBLE_MANTISSA_MASK; // 52-bit mantissa in float16Ulp()
232 long exponent = valueBits & DOUBLE_EXPONENT_MASK; // 11-bit exponent in float16Ulp()
308 long valueBits = Double.doubleToLongBits(value); in convertDoubleToFloat16() local
309 long mantissa = valueBits & DOUBLE_MANTISSA_MASK; // 52-bit mantissa in convertDoubleToFloat16()
310 long exponent = valueBits & DOUBLE_EXPONENT_MASK; // 11-bit exponent in convertDoubleToFloat16()