Lines Matching refs:exp16

220 	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()
377 int exp16; /* exp16: biased exponent for 16-bit floats */ in deFloat64To16Round() local
386 exp16 = (int) (exp64) - 1023 + 15; /* 15/127: exponent bias for 16-bit/32-bit floats */ in deFloat64To16Round()
422 else if (exp16 < -10) in deFloat64To16Round()
429 else if (exp16 <= 0) in deFloat64To16Round()
439 mantissa >>= (43 - exp16); in deFloat64To16Round()
446 mantissa = roundToNearestEven64(mantissa, 43 - exp16); in deFloat64To16Round()
451 else if (exp16 <= 30) in deFloat64To16Round()
455 return (deFloat16) (sign | ((deUint32)exp16 << 10u) | (mantissa >> 42u)); in deFloat64To16Round()
461 exp16 = (exp16 << 10u) + (deFloat16)(mantissa & (1 << 10)); in deFloat64To16Round()
463 return (deFloat16) (sign | ((deUint32) exp16) | mantissa); in deFloat64To16Round()