Searched refs:exp16 (Results 1 – 2 of 2) sorted by relevance
220 int exp16; /* exp16: biased exponent for 16-bit floats */ in deFloat32To16Round() local229 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 …]
133 int16_t exp16; in CalcExpN() local140 exp16 = 1 << axINT; // Q0 in CalcExpN()142 exp = exp16 * axFRAC; // Q0*Q8 = Q8 in CalcExpN()148 exp16 = (int16_t)(32768 >> axINT); // Q15 in CalcExpN()150 exp = exp16 * axFRAC; // Q15*Q8 = Q23 in CalcExpN()