Lines Matching refs:exp
13 do right before they return ... >> exp;
15 Round - adds 1 << (exp - 1)
16 Ceil - adds (1 << exp) - 1
46 int exp = unpack_exp(packed) - EXP_BIAS;
49 if (exp >= 0) {
50 if (exp > 7) { // overflow
53 value <<= exp;
56 exp = -exp;
57 if (exp > 25) { // underflow
58 exp = 25;
60 value >>= exp;
72 int exp = unpack_exp(packed) - EXP_BIAS;
75 if (exp >= 0) {
76 if (exp > 7) { // overflow
79 value <<= exp;
86 exp = -exp;
87 if (exp > 25) { // underflow
88 exp = 25;
91 return value >> exp;
102 int exp = unpack_exp(packed) - EXP_BIAS;
105 if (exp >= 0) {
106 if (exp > 7) { // overflow
109 value <<= exp;
116 exp = -exp;
117 if (exp > 25) { // underflow
118 exp = 25;
120 int add = 1 << (exp - 1);
121 return (value + add) >> exp;
132 int exp = unpack_exp(packed) - EXP_BIAS;
135 if (exp >= 0) {
136 if (exp > 7) { // overflow
139 value <<= exp;
146 exp = -exp;
147 if (exp > 25) { // underflow
148 exp = 25;
150 int add = (1 << exp) - 1;
151 return (value + add) >> exp;