Lines Matching defs:sf16
29 typedef uint16_t sf16;
138 static sf32 sf16_to_sf32(sf16 inp)
194 static sf16 sf32_to_sf16(sf32 inp, roundmode rmode)
276 return static_cast<sf16>(((inp + vlx) >> 13) | (p >> 14));
286 return static_cast<sf16>(static_cast<uint32_t>((-static_cast<int32_t>(inp))) >> 31);
299 return static_cast<sf16>(((vlx - inp) >> 31) + UINT32_C(0x8000));
333 return static_cast<sf16>(vlx);
352 return static_cast<sf16>((inp + vlx) >> 13);
359 return static_cast<sf16>(p >> 13);
374 return static_cast<sf16>((((inp & UINT32_C(0x7FFFFF)) + UINT32_C(0x800000)) >> p) | vlx);
379 return static_cast<sf16>(rtup_shift32((inp & UINT32_C(0x7FFFFF)) + UINT32_C(0x800000), p) | vlx);
384 return static_cast<sf16>(rtna_shift32((inp & UINT32_C(0x7FFFFF)) + UINT32_C(0x800000), p) | vlx);
389 return static_cast<sf16>(rtne_shift32((inp & UINT32_C(0x7FFFFF)) + UINT32_C(0x800000), p) | vlx);