Searched refs:dpd (Results 1 – 5 of 5) sorted by relevance
/qemu/libdecnumber/dpd/ |
H A D | decimal64.c | 161 uInt dpd[6]={0,0,0,0,0,0}; in decimal64FromNumber() local 164 for (i=0; d>0; i++, d-=3) dpd[i]=BIN2DPD[dn->lsu[i]]; in decimal64FromNumber() 165 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() 173 msd=dpd[5]; /* [did not really need conversion] */ in decimal64FromNumber() 309 Int dpd; /* .. */ in decimal64ToString() local [all …]
|
H A D | decimal128.c | 293 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() 364 dpd=((sourmh&0x3f)<<4) | (sourml>>28); /* declet 5 */ in decimal128ToString() 366 dpd=(sourml>>18)&0x3ff; /* declet 6 */ in decimal128ToString() 368 dpd=(sourml>>8)&0x3ff; /* declet 7 */ in decimal128ToString() 370 dpd=((sourml&0xff)<<2) | (sourlo>>30); /* declet 8 */ in decimal128ToString() [all …]
|
H A D | decimal32.c | 267 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 D | meson.build | 4 'dpd/decimal128.c', 5 'dpd/decimal32.c', 6 'dpd/decimal64.c',
|
/qemu/include/libdecnumber/ |
H A D | decNumberLocal.h | 402 #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];}
|