Home
last modified time | relevance | path

Searched refs:DECDPUN (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal64.c160 if (DECDPUN==3 && pad==0) { in decimal64FromNumber()
554 #if DECDPUN==3
567 #define DECMAXUNITS ((DECMAX754+DECDPUN-1)/DECDPUN)
610 #if DECDPUN<=4
627 #if DECDPUN!=3 /* not fast path */ in decDigitsToDPD()
641 cut=DECDPUN-MSUDIGITS(shift); /* where to slice */ in decDigitsToDPD()
649 #if DECDPUN<=4 in decDigitsToDPD()
658 next=rem*DECPOWERS[DECDPUN-cut]; /* save remainder for next Unit */ in decDigitsToDPD()
672 #if DECDPUN!=3 /* not fast path */ in decDigitsToDPD()
679 #if DECDPUN==3 /* fast path, 3-at-a-time */ in decDigitsToDPD()
[all …]
H A Ddecimal32.c152 if (DECDPUN==3 && pad==0) { in decimal32FromNumber()
/openbmc/qemu/include/libdecnumber/
H A DdecNumberLocal.h176 #if DECDPUN==1
182 #elif DECDPUN==2
187 #elif DECDPUN==3
192 #elif DECDPUN==4
197 #elif DECDPUN==5
202 #elif DECDPUN==6
207 #elif DECDPUN==7
212 #elif DECDPUN==8
217 #elif DECDPUN==9
222 #elif defined(DECDPUN)
[all …]
H A Ddconfig.h37 #ifndef DECDPUN
38 #define DECDPUN 3 macro
H A DdecNumber.h57 #define DECDPUN 3 /* DECimal Digits Per UNit [must be >0 */ macro
70 #if DECDPUN<=2
72 #elif DECDPUN<=4
78 #define DECNUMUNITS ((DECNUMDIGITS+DECDPUN-1)/DECDPUN)
/openbmc/qemu/libdecnumber/
H A DdecNumber.c205 #if DECDPUN<=4
217 #error decNumber.c: DECUSE64 must be 1 when DECDPUN>4
386 #if DECDPUN>1 /* split to higher */ in decNumberToInt32()
392 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in decNumberToInt32()
422 #if DECDPUN>1 /* split to higher */ in decNumberToUInt32()
428 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in decNumberToUInt32()
525 for (d = 1; d <= dn->digits; up++, d += DECDPUN) { in decNumberIntegralToInt64()
572 for (d = (dn->digits - 1) / DECDPUN; d >= 0; d--) { in decNumberIntegralToInt128()
667 #if DECDPUN>1 in decNumberFromString()
829 #if DECDPUN>1 in decNumberFromString()
[all …]
/openbmc/qemu/target/ppc/
H A Ddfp_helper.c415 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()