Home | History | Annotate | Download | only in lib

Lines Matching refs:src_rep_t

43 typedef uint64_t src_rep_t;
55 static inline src_rep_t srcToRep(src_t x) {
56 const union { src_t f; src_rep_t i; } rep = {.f = x};
79 const src_rep_t srcMinNormal = SRC_REP_C(1) << srcSigBits;
80 const src_rep_t significandMask = srcMinNormal - 1;
81 const src_rep_t srcInfinity = (src_rep_t)srcInfExp << srcSigBits;
82 const src_rep_t srcSignMask = SRC_REP_C(1) << (srcSigBits + srcExpBits);
83 const src_rep_t srcAbsMask = srcSignMask - 1;
84 const src_rep_t roundMask = (SRC_REP_C(1) << (srcSigBits - dstSigBits)) - 1;
85 const src_rep_t halfway = SRC_REP_C(1) << (srcSigBits - dstSigBits - 1);
94 const src_rep_t underflow = (src_rep_t)underflowExponent << srcSigBits;
95 const src_rep_t overflow = (src_rep_t)overflowExponent << srcSigBits;
101 const src_rep_t aRep = srcToRep(a);
102 const src_rep_t aAbs = aRep & srcAbsMask;
103 const src_rep_t sign = aRep & srcSignMask;
113 const src_rep_t roundBits = aAbs & roundMask;
145 const src_rep_t significand = (aRep & significandMask) | srcMinNormal;
152 src_rep_t denormalizedSignificand = significand >> shift | sticky;
154 const src_rep_t roundBits = denormalizedSignificand & roundMask;