Searched refs:DECDPUN (Results 1 – 12 of 12) sorted by relevance
158 if (DECDPUN==3 && pad==0) { in decimal64FromNumber()551 #if DECDPUN==3564 #define DECMAXUNITS ((DECMAX754+DECDPUN-1)/DECDPUN)607 #if DECDPUN<=4625 #if DECDPUN!=3 /* not fast path */ in decDigitsToDPD()639 cut=DECDPUN-MSUDIGITS(shift); /* where to slice */ in decDigitsToDPD()647 #if DECDPUN<=4 in decDigitsToDPD()656 next=rem*DECPOWERS[DECDPUN-cut]; /* save remainder for next Unit */ in decDigitsToDPD()670 #if DECDPUN!=3 /* not fast path */ in decDigitsToDPD()677 #if DECDPUN==3 /* fast path, 3-at-a-time */ in decDigitsToDPD()[all …]
150 if (DECDPUN==3 && pad==0) { in decimal32FromNumber()
74 uInt cut=DECDPUN; /* downcounter per Unit */ in decPackedFromNumber()77 #if DECDPUN<=4 in decPackedFromNumber()95 cut=DECDPUN; in decPackedFromNumber()97 #if DECDPUN<=4 in decPackedFromNumber()115 cut=DECDPUN; in decPackedFromNumber()117 #if DECDPUN<=4 in decPackedFromNumber()208 if (cut==DECDPUN) { in decPackedToNumber()222 if (cut==DECDPUN) { in decPackedToNumber()
213 #if DECDPUN<=4225 #error decNumber.c: DECUSE64 must be 1 when DECDPUN>4393 #if DECDPUN>1 /* split to higher */ in decNumberToInt32()399 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in decNumberToInt32()429 #if DECDPUN>1 /* split to higher */ in decNumberToUInt32()435 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in decNumberToUInt32()503 #if DECDPUN>1 in decNumberFromString()665 #if DECDPUN>1 in decNumberFromString()668 cut=d-(up-res)*DECDPUN; /* digits in top unit */ in decNumberFromString()677 cut=DECDPUN; /* .. */ in decNumberFromString()[all …]
196 #if DECDPUN==1202 #elif DECDPUN==2207 #elif DECDPUN==3212 #elif DECDPUN==4217 #elif DECDPUN==5222 #elif DECDPUN==6227 #elif DECDPUN==7232 #elif DECDPUN==8237 #elif DECDPUN==9242 #elif defined(DECDPUN)[all …]
53 #define DECDPUN 3 /* DECimal Digits Per UNit [must be >0 */ macro66 #if DECDPUN<=268 #elif DECDPUN<=474 #define DECNUMUNITS ((DECNUMDIGITS+DECDPUN-1)/DECDPUN)