Lines Matching refs:rep_t
43 typedef uint32_t rep_t;
49 static inline int rep_clz(rep_t a) {
54 static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
63 typedef uint64_t rep_t;
69 static inline int rep_clz(rep_t a) {
86 static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
107 typedef __uint128_t rep_t;
115 static inline int rep_clz(rep_t a) {
151 static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
216 #define typeWidth (sizeof(rep_t)*CHAR_BIT)
226 #define oneRep ((rep_t)exponentBias << significandBits)
231 static inline rep_t toRep(fp_t x) {
232 const union { fp_t f; rep_t i; } rep = {.f = x};
236 static inline fp_t fromRep(rep_t x) {
237 const union { fp_t f; rep_t i; } rep = {.i = x};
241 static inline int normalize(rep_t *significand) {
247 static inline void wideLeftShift(rep_t *hi, rep_t *lo, int count) {
252 static inline void wideRightShiftWithSticky(rep_t *hi, rep_t *lo, unsigned int count) {