Go to the documentation of this file.
30 #define assert(expr) ((void)0)
33 #define XDPSRS(v,rs) \
34 ((rs > (DP_MBITS+3))?1:((v) >> (rs)) | ((v) << (64-(rs)) != 0))
37 (xe++, (xm = (xm >> 1) | (xm & 1)))
40 (((v) >> 1) | ((v) & 1))
43 #define DPDNORMx(m,e) \
44 while( (m >> DP_MBITS) == 0) { m <<= 1; e--; }
45 #define DPDNORMX DPDNORMx(xm, xe)
46 #define DPDNORMY DPDNORMx(ym, ye)
48 static inline ieee754dp builddp(
int s,
int bx,
u64 m)
52 assert((s) == 0 || (s) == 1);
73 #define DPNORMRET2(s, e, m, name, a0, a1) \
75 ieee754dp V = ieee754dp_format(s, e, m); \
77 return ieee754dp_xcpt(V, name, a0, a1); \
82 #define DPNORMRET1(s, e, m, name, a0) DPNORMRET2(s, e, m, name, a0, a0)