Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java110 private static double constructDouble(long mantissa, long exponent, boolean isNegative) { in constructDouble() argument
113 if (isNegative) bits |= DOUBLE_SIGN_MASK; in constructDouble()
131 boolean isNegative = (valueBits & DOUBLE_SIGN_MASK) != 0; in roundToFloat16()
216 if (isNegative) { in roundToFloat16()
303 boolean isNegative = (value < 0.); in convertDoubleToFloat16()
306 return (isNegative) ? (short) (0x8000 | quotient) : quotient; in convertDoubleToFloat16()
316 return (isNegative) ? (short) (0x8000 | halfValue) : halfValue; in convertDoubleToFloat16()