Home
last modified time | relevance | path

Searched refs:D2U (Results 1 – 3 of 3) sorted by relevance

/qemu/libdecnumber/
H A DdecNumber.c831 up=res+D2U(d)-1; /* -> msu */ in decNumberFromString()
4187 Int need=D2U(maxdigits)+1; in decAddOp()
4210 rhs->lsu, D2U(rhs->digits), in decAddOp()
4574 var1units=D2U(maxdigits)+2; in decDivideOp()
4789 accunits=D2U(accdigits); in decDivideOp()
4843 accunits=D2U(accdigits); in decDivideOp()
4912 rhs->lsu, D2U(rhs->digits), in decDivideOp()
5221 needbytes=(D2U(lhs->digits)+D2U(rhs->digits))*sizeof(Unit); in decMultiplyOp()
6214 rhs->lsu, D2U(rhs->digits), 0);
6358 rhs->lsu, D2U(rhs->digits),
[all …]
/qemu/include/libdecnumber/
H A DdecNumberLocal.h239 #define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+7)>>3)) macro
241 #define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+3)>>2)) macro
243 #define D2U(d) ((d)<=DECMAXD2U?d2utable[d]:((d)+DECDPUN-1)/DECDPUN) macro
250 #define MSUDIGITS(d) ((d)-(D2U(d)-1)*DECDPUN)
/qemu/libdecnumber/dpd/
H A Ddecimal64.c639 source=dn->lsu+D2U(digits)-1; /* where msu comes from */ in decDigitsToDPD()
640 target=uar+D2U(digits)-1+D2U(shift);/* where upper part of first cut goes */ in decDigitsToDPD()
646 first=uar+D2U(digits+shift)-1; /* where msu will end up */ in decDigitsToDPD()