Home
last modified time | relevance | path

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

/openbmc/qemu/include/libdecnumber/dpd/
H A Ddecimal32.h47 #define DECIMAL32_Bias 101 /* bias for the exponent */ macro
51 #define DECIMAL32_Ehigh (DECIMAL32_Emax+DECIMAL32_Bias-DECIMAL32_Pmax+1)
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal32.c126 if (dn->exponent<-DECIMAL32_Bias) { in decimal32FromNumber()
131 exp=dn->exponent+DECIMAL32_Bias; /* bias exponent */ in decimal32FromNumber()
144 exp=(uInt)(dn->exponent+DECIMAL32_Bias); /* bias exponent */ in decimal32FromNumber()
218 dn->exponent=(exp<<6)+((sour>>20)&0x3f)-DECIMAL32_Bias; /* unbiased */ in decimal32ToNumber()
295 else exp=(exp<<6)+((sour>>20)&0x3f)-DECIMAL32_Bias; /* unbiased */ in decimal32ToString()