Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/src/common/
Dmathutil.h207 unsigned int float32Val = float32Bits & float32ValueMask; in float32ToFloat11() local
209 if ((float32Val & float32ExponentMask) == float32ExponentMask) in float32ToFloat11()
212 if ((float32Val & float32MantissaMask) != 0) in float32ToFloat11()
214 …return float11ExponentMask | (((float32Val >> 17) | (float32Val >> 11) | (float32Val >> 6) | (floa… in float32ToFloat11()
231 else if (float32Val > float32Maxfloat11) in float32ToFloat11()
238 if (float32Val < float32Minfloat11) in float32ToFloat11()
242 …const unsigned int shift = (float32ExponentBias - float11ExponentBias) - (float32Val >> float32Exp… in float32ToFloat11()
243float32Val = ((1 << float32ExponentFirstBit) | (float32Val & float32MantissaMask)) >> shift; in float32ToFloat11()
248 float32Val += 0xC8000000; in float32ToFloat11()
251 return ((float32Val + 0xFFFF + ((float32Val >> 17) & 1)) >> 17) & float11BitMask; in float32ToFloat11()
[all …]