Lines Matching refs:expotent
31 int expotent; in deFloat32To16() local
41 expotent = (int)((x.u >> 23u) & 0x000000ffu) - (127 - 15); in deFloat32To16()
44 if (expotent <= 0) in deFloat32To16()
46 if (expotent < -10) in deFloat32To16()
57 deUint32 t = 14u - expotent; in deFloat32To16()
66 else if (expotent == 0xff - (127 - 15)) in deFloat32To16()
89 expotent += 1; in deFloat32To16()
92 if (expotent > 30) in deFloat32To16()
98 return (deFloat16) (sign | ((deUint32)expotent << 10u) | (mantissa >> 13u)); in deFloat32To16()
262 deUint32 expotent; in deFloat16To32() local
273 expotent = ((deUint32)val16 >> 10u) & 0x0000001fu; in deFloat16To32()
276 if (expotent == 0u) in deFloat16To32()
291 expotent -= 1u; in deFloat16To32()
294 expotent += 1u; in deFloat16To32()
298 else if (expotent == 31u) in deFloat16To32()
314 expotent = expotent + (127u - 15u); in deFloat16To32()
317 x.u = (sign << 31u) | (expotent << 23u) | mantissa; in deFloat16To32()