Lines Matching defs:half
1554 /* Clamp the endpoints to the range of a half float and strip out
1642 int half;
1645 half = _mesa_float_to_half(value);
1647 if (half & 0x8000) {
1648 half &= 0x7fff;
1652 half = (32 * half / 31) >> 6;
1655 half = -half & ((1 << 10) - 1);
1657 return half;
1662 half = _mesa_float_to_half(value);
1664 return (64 * half / 31) >> 6;