Home | History | Annotate | Download | only in main

Lines Matching defs:half

1405    /* Clamp the endpoints to the range of a half float and strip out
1493 int half;
1496 half = _mesa_float_to_half(value);
1498 if (half & 0x8000) {
1499 half &= 0x7fff;
1503 half = (32 * half / 31) >> 6;
1506 half = -half & ((1 << 10) - 1);
1508 return half;
1513 half = _mesa_float_to_half(value);
1515 return (64 * half / 31) >> 6;