Searched refs:DECDPUN (Results 1 – 7 of 7) sorted by relevance
159 if (DECDPUN==3 && pad==0) { in decimal64FromNumber()553 #if DECDPUN==3566 #define DECMAXUNITS ((DECMAX754+DECDPUN-1)/DECDPUN)609 #if DECDPUN<=4626 #if DECDPUN!=3 /* not fast path */ in decDigitsToDPD()640 cut=DECDPUN-MSUDIGITS(shift); /* where to slice */ in decDigitsToDPD()648 #if DECDPUN<=4 in decDigitsToDPD()657 next=rem*DECPOWERS[DECDPUN-cut]; /* save remainder for next Unit */ in decDigitsToDPD()671 #if DECDPUN!=3 /* not fast path */ in decDigitsToDPD()678 #if DECDPUN==3 /* fast path, 3-at-a-time */ in decDigitsToDPD()[all …]
151 if (DECDPUN==3 && pad==0) { in decimal32FromNumber()
175 #if DECDPUN==1181 #elif DECDPUN==2186 #elif DECDPUN==3191 #elif DECDPUN==4196 #elif DECDPUN==5201 #elif DECDPUN==6206 #elif DECDPUN==7211 #elif DECDPUN==8216 #elif DECDPUN==9221 #elif defined(DECDPUN)[all …]
36 #ifndef DECDPUN37 #define DECDPUN 3 macro
56 #define DECDPUN 3 /* DECimal Digits Per UNit [must be >0 */ macro69 #if DECDPUN<=271 #elif DECDPUN<=477 #define DECNUMUNITS ((DECNUMDIGITS+DECDPUN-1)/DECDPUN)
204 #if DECDPUN<=4216 #error decNumber.c: DECUSE64 must be 1 when DECDPUN>4385 #if DECDPUN>1 /* split to higher */ in decNumberToInt32()391 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in decNumberToInt32()421 #if DECDPUN>1 /* split to higher */ in decNumberToUInt32()427 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in decNumberToUInt32()524 for (d = 1; d <= dn->digits; up++, d += DECDPUN) { in decNumberIntegralToInt64()571 for (d = (dn->digits - 1) / DECDPUN; d >= 0; d--) { in decNumberIntegralToInt128()666 #if DECDPUN>1 in decNumberFromString()828 #if DECDPUN>1 in decNumberFromString()[all …]
415 assert(DECDPUN == 3); in dfp_get_digit()416 int unit = n / DECDPUN; in dfp_get_digit()417 int dig = n % DECDPUN; in dfp_get_digit()