Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java130 long unbiasedExponent = (exponent >> 52) - 1023; in roundToFloat16() local
141 if (unbiasedExponent == -1023 && mantissa == 0) { in roundToFloat16()
146 else if (unbiasedExponent < -24) { in roundToFloat16()
151 else if (unbiasedExponent <= 15) { in roundToFloat16()
170 if (unbiasedExponent < -14) { in roundToFloat16()
174 maxSigMantissaBits = 24 + unbiasedExponent; in roundToFloat16()
185 long lowFloat16Exponent = unbiasedExponent; in roundToFloat16()
186 long highFloat16Exponent = unbiasedExponent; in roundToFloat16()
233 long unbiasedExponent = (exponent >> 52) - 1023; in float16Ulp() local
235 if (unbiasedExponent == 1024) { // i.e. NaN or infinity in float16Ulp()
[all …]