Home
last modified time | relevance | path

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

/openbmc/qemu/include/libdecnumber/dpd/
H A Ddecimal64.h48 #define DECIMAL64_Bias 398 /* bias for the exponent */ macro
52 #define DECIMAL64_Ehigh (DECIMAL64_Emax+DECIMAL64_Bias-DECIMAL64_Pmax+1)
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal64.c134 if (dn->exponent<-DECIMAL64_Bias) { in decimal64FromNumber()
139 exp=dn->exponent+DECIMAL64_Bias; /* bias exponent */ in decimal64FromNumber()
152 exp=(uInt)(dn->exponent+DECIMAL64_Bias); /* bias exponent */ in decimal64FromNumber()
253 dn->exponent=(exp<<8)+((sourhi>>18)&0xff)-DECIMAL64_Bias; /* unbiased */ in decimal64ToNumber()
348 else exp=(exp<<8)+((sourhi>>18)&0xff)-DECIMAL64_Bias; in decimal64ToString()