Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeFloat16.c220 int exp16; /* exp16: biased exponent for 16-bit floats */ in deFloat32To16Round() local
229 exp16 = (int) (exp32) - 127 + 15; /* 15/127: exponent bias for 16-bit/32-bit floats */ in deFloat32To16Round()
265 else if (exp16 < -10) in deFloat32To16Round()
272 else if (exp16 <= 0) in deFloat32To16Round()
282 mantissa >>= (14 - exp16); in deFloat32To16Round()
289 mantissa = roundToNearestEven(mantissa, 14 - exp16); in deFloat32To16Round()
294 else if (exp16 <= 30) in deFloat32To16Round()
298 return (deFloat16) (sign | ((deUint32)exp16 << 10u) | (mantissa >> 13u)); in deFloat32To16Round()
304 exp16 = (exp16 << 10u) + (mantissa & (1 << 10)); in deFloat32To16Round()
306 return (deFloat16) (sign | ((deUint32) exp16) | mantissa); in deFloat32To16Round()
[all …]
/external/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c134 int16_t exp16; in CalcExpN() local
141 exp16 = 1 << axINT; // Q0 in CalcExpN()
143 exp = exp16 * axFRAC; // Q0*Q8 = Q8 in CalcExpN()
149 exp16 = (int16_t)(32768 >> axINT); // Q15 in CalcExpN()
151 exp = exp16 * axFRAC; // Q15*Q8 = Q23 in CalcExpN()
/external/swiftshader/src/Pipeline/
DShaderCore.cpp567 auto exp16 = halfBits & SIMD::UInt(0x7C00); in halfToFloatBits() local
569 auto isDnormOrZero = CmpEQ(exp16, SIMD::UInt(0)); in halfToFloatBits()
570 auto isInfOrNaN = CmpEQ(exp16, SIMD::UInt(0x7C00)); in halfToFloatBits()
574 auto exp32 = (exp16 + SIMD::UInt(0x1C000)) << 13; in halfToFloatBits()