Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
DdecNumber.c674 Int needbytes=D2U(d)*sizeof(Unit);/* bytes needed */ in uprv_decNumberFromString()
688 up=res+D2U(d)-1; /* -> msu */ in uprv_decNumberFromString()
837 msua=ua+D2U(lhs->digits)-1; /* -> msu of lhs */ in uprv_decNumberAnd()
838 msub=ub+D2U(rhs->digits)-1; /* -> msu of rhs */ in uprv_decNumberAnd()
839 msuc=uc+D2U(set->digits)-1; /* -> msu of result */ in uprv_decNumberAnd()
965 needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit); in uprv_decNumberCompareTotalMag()
979 needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit); in uprv_decNumberCompareTotalMag()
1158 needbytes=sizeof(decNumber)+(D2U(dcmul.digits)-1)*sizeof(Unit); in uprv_decNumberFMA()
1231 msua=ua+D2U(rhs->digits)-1; /* -> msu of rhs */ in uprv_decNumberInvert()
1232 msuc=uc+D2U(set->digits)-1; /* -> msu of result */ in uprv_decNumberInvert()
[all …]
DdecNumberLocal.h229 #define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+7)>>3)) macro
231 #define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+3)>>2)) macro
233 #define D2U(d) ((d)<=DECMAXD2U?d2utable[d]:((d)+DECDPUN-1)/DECDPUN) macro
240 #define MSUDIGITS(d) ((d)-(D2U(d)-1)*DECDPUN)