Home
last modified time | relevance | path

Searched refs:DECIMAL128_Bias (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/libdecnumber/dpd/
H A Ddecimal128.h47 #define DECIMAL128_Bias 6176 /* bias for the exponent */ macro
51 #define DECIMAL128_Ehigh (DECIMAL128_Emax+DECIMAL128_Bias-DECIMAL128_Pmax+1)
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal128.c130 if (dn->exponent<-DECIMAL128_Bias) { in decimal128FromNumber()
135 exp=dn->exponent+DECIMAL128_Bias; /* bias exponent */ in decimal128FromNumber()
148 exp=(uInt)(dn->exponent+DECIMAL128_Bias); /* bias exponent */ in decimal128FromNumber()
242 dn->exponent=(exp<<12)+((sourhi>>14)&0xfff)-DECIMAL128_Bias; /* unbiased */ in decimal128ToNumber()
339 else exp=(exp<<12)+((sourhi>>14)&0xfff)-DECIMAL128_Bias; /* unbiased */ in decimal128ToString()