Lines Matching refs:sign
30 deUint32 sign; in deFloat32To16() local
40 sign = (x.u >> 16u) & 0x00008000u; in deFloat32To16()
49 return (deFloat16) sign; in deFloat32To16()
64 return (deFloat16) (sign | mantissa); in deFloat32To16()
71 return (deFloat16) (sign | 0x7c00u); in deFloat32To16()
77 return (deFloat16) (sign | 0x7c00u | mantissa | (mantissa == 0u)); in deFloat32To16()
95 return (deFloat16) (sign | 0x7c00u); in deFloat32To16()
98 return (deFloat16) (sign | ((deUint32)expotent << 10u) | (mantissa >> 13u)); in deFloat32To16()
104 deUint64 sign; in deFloat64To16() local
114 sign = (x.u >> 48u) & 0x00008000u; in deFloat64To16()
123 return (deFloat16) sign; in deFloat64To16()
138 return (deFloat16) (sign | mantissa); in deFloat64To16()
145 return (deFloat16) (sign | 0x7c00u); in deFloat64To16()
151 return (deFloat16) (sign | 0x7c00u | mantissa | (mantissa == 0u)); in deFloat64To16()
168 return (deFloat16) (sign | 0x7c00u); in deFloat64To16()
171 return (deFloat16) (sign | ((deUint32)expotent << 10u) | (mantissa >> 13u)); in deFloat64To16()
218 deUint32 sign; /* sign : 0000 0000 0000 0000 X000 0000 0000 0000 */ in deFloat32To16Round() local
227 sign = (x.u >> 16u) & 0x00008000u; in deFloat32To16Round()
236 return (deFloat16) sign; in deFloat32To16Round()
244 return (deFloat16) (sign | 0x7c00u); in deFloat32To16Round()
251 return (deFloat16) (sign | 0x7c00u | mantissa | (mantissa == 0u)); in deFloat32To16Round()
269 return (deFloat16) sign; in deFloat32To16Round()
291 return (deFloat16) (sign | mantissa); in deFloat32To16Round()
298 return (deFloat16) (sign | ((deUint32)exp16 << 10u) | (mantissa >> 13u)); in deFloat32To16Round()
306 return (deFloat16) (sign | ((deUint32) exp16) | mantissa); in deFloat32To16Round()
320 return (deFloat16) (sign | 0x7bffu); /* 111 1011 1111 1111 */ in deFloat32To16Round()
324 return (deFloat16) (sign | (0x1f << 10)); in deFloat32To16Round()
375 deUint64 sign; /* sign : 0000 0000 0000 0000 X000 0000 0000 0000 */ in deFloat64To16Round() local
384 sign = (x.u >> 48u) & 0x00008000u; in deFloat64To16Round()
393 return (deFloat16) sign; in deFloat64To16Round()
401 return (deFloat16) (sign | 0x7c00u); in deFloat64To16Round()
408 return (deFloat16) (sign | 0x7c00u | mantissa | (mantissa == 0u)); in deFloat64To16Round()
426 return (deFloat16) sign; in deFloat64To16Round()
448 return (deFloat16) (sign | mantissa); in deFloat64To16Round()
455 return (deFloat16) (sign | ((deUint32)exp16 << 10u) | (mantissa >> 42u)); in deFloat64To16Round()
463 return (deFloat16) (sign | ((deUint32) exp16) | mantissa); in deFloat64To16Round()
477 return (deFloat16) (sign | 0x7bffu); /* 111 1011 1111 1111 */ in deFloat64To16Round()
481 return (deFloat16) (sign | (0x1f << 10)); in deFloat64To16Round()
491 deUint32 sign; in deFloat16To32() local
502 sign = ((deUint32)val16 >> 15u) & 0x00000001u; in deFloat16To32()
511 x.u = sign << 31u; in deFloat16To32()
533 x.u = (sign << 31u) | 0x7f800000u; in deFloat16To32()
539 x.u = (sign << 31u) | 0x7f800000u | (mantissa << 13u); in deFloat16To32()
547 x.u = (sign << 31u) | (expotent << 23u) | mantissa; in deFloat16To32()
553 deUint64 sign; in deFloat16To64() local
564 sign = ((deUint32)val16 >> 15u) & 0x00000001u; in deFloat16To64()
573 x.u = sign << 63u; in deFloat16To64()
595 x.u = (sign << 63u) | 0x7ff0000000000000u; in deFloat16To64()
601 x.u = (sign << 63u) | 0x7ff0000000000000u | (mantissa << 42u); in deFloat16To64()
609 x.u = (sign << 63u) | (expotent << 52u) | mantissa; in deFloat16To64()