Home | History | Annotate | Download | only in lib

Lines Matching refs:rep_t

31 typedef uint32_t rep_t;
37 static inline int rep_clz(rep_t a) {
42 static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
50 typedef uint64_t rep_t;
56 static inline int rep_clz(rep_t a) {
73 static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
91 #define typeWidth (sizeof(rep_t)*CHAR_BIT)
101 #define oneRep ((rep_t)exponentBias << significandBits)
106 static inline rep_t toRep(fp_t x) {
107 const union { fp_t f; rep_t i; } rep = {.f = x};
111 static inline fp_t fromRep(rep_t x) {
112 const union { fp_t f; rep_t i; } rep = {.i = x};
116 static inline int normalize(rep_t *significand) {
122 static inline void wideLeftShift(rep_t *hi, rep_t *lo, int count) {
127 static inline void wideRightShiftWithSticky(rep_t *hi, rep_t *lo, unsigned int count) {