Home
last modified time | relevance | path

Searched refs:dpd (Results 1 – 5 of 5) sorted by relevance

/qemu/libdecnumber/dpd/
H A Ddecimal64.c165 targlo =dpd[0]; in decimal64FromNumber()
166 targlo|=dpd[1]<<10; in decimal64FromNumber()
167 targlo|=dpd[2]<<20; in decimal64FromNumber()
169 targlo|=dpd[3]<<30; in decimal64FromNumber()
170 targhi =dpd[3]>>2; in decimal64FromNumber()
171 targhi|=dpd[4]<<8; in decimal64FromNumber()
309 Int dpd; /* .. */ in decimal64ToString() local
707 dpd=BIN2DPD[bin]; in decDigitsToDPD()
710 *uout|=dpd<<uoff; in decDigitsToDPD()
764 dpd=*uin>>uoff; in decDigitsFromDPD()
[all …]
H A Ddecimal128.c293 Int dpd; /* .. */ in decimal128ToString() local
353 #define dpd2char u=&BIN2CHAR[DPD2BIN[dpd]*4]; \ in decimal128ToString()
356 dpd=(sourhi>>4)&0x3ff; /* declet 1 */ in decimal128ToString()
358 dpd=((sourhi&0xf)<<6) | (sourmh>>26); /* declet 2 */ in decimal128ToString()
360 dpd=(sourmh>>16)&0x3ff; /* declet 3 */ in decimal128ToString()
362 dpd=(sourmh>>6)&0x3ff; /* declet 4 */ in decimal128ToString()
366 dpd=(sourml>>18)&0x3ff; /* declet 6 */ in decimal128ToString()
368 dpd=(sourml>>8)&0x3ff; /* declet 7 */ in decimal128ToString()
372 dpd=(sourlo>>20)&0x3ff; /* declet 9 */ in decimal128ToString()
374 dpd=(sourlo>>10)&0x3ff; /* declet 10 */ in decimal128ToString()
[all …]
H A Ddecimal32.c267 Int dpd; /* .. */ in decimal32ToString() local
309 #define dpd2char u=&BIN2CHAR[DPD2BIN[dpd]*4]; \ in decimal32ToString()
313 dpd=(sour>>10)&0x3ff; /* declet 1 */ in decimal32ToString()
315 dpd=(sour)&0x3ff; /* declet 2 */ in decimal32ToString()
/qemu/libdecnumber/
H A Dmeson.build4 'dpd/decimal128.c',
5 'dpd/decimal32.c',
6 'dpd/decimal64.c',
/qemu/include/libdecnumber/
H A DdecNumberLocal.h402 #define CANONDPD(dpd) (((dpd)&0x300)==0 || ((dpd)&0x6e)!=0x6e) argument
404 #define CANONDPDOFF(dpd, k) (((dpd)&(0x300<<(k)))==0 \ argument
405 || ((dpd)&(((uInt)0x6e)<<(k)))!=(((uInt)0x6e)<<(k)))
456 #define dpd2bcd8(u, dpd) { \ argument
457 UINTAT(u)=UINTAT(&DPD2BCD8[((dpd)&0x3ff)*4]);}
459 #define dpd2bcd83(u, dpd) { \ argument
460 *(u)=DPD2BCD8[((dpd)&0x3ff)*4]; \
461 *(u+1)=DPD2BCD8[((dpd)&0x3ff)*4+1]; \
462 *(u+2)=DPD2BCD8[((dpd)&0x3ff)*4+2];}