Lines Matching refs:exp
149 void _Stl_set_exponent(uint64 &val, uint64 exp)
150 { val = (val & ~exponent_mask) | ((exp & bit11) << 52); }
265 // Convert a 64-bitb fraction * 10^exp to a 64-bit fraction * 2^bexp.
267 // exp: base-10 exponent
269 static void _Stl_tenscale(uint64& p, int exp, int& bexp) {
272 if ( exp == 0 ) { /* no scaling needed */
276 int exp_hi = 0, exp_lo = exp; /* exp = exp_hi*32 + exp_lo */
280 if (exp > 0) { /* split exponent */
290 } else { // exp < 0
651 int exp;
669 exp = 0;
676 exp += (decimal_point ^ 1);
683 exp -= decimal_point;
717 exp += e;
723 if ((exp + n - 1) < limits::min_exponent10) {
726 else if ((exp + n - 1) > limits::max_exponent10) {
733 x = _Stl_atod(digits, n, exp);
756 int exp;
775 exp = 0;
782 exp += (decimal_point ^ 1);
789 exp -= decimal_point;
822 exp += e;
827 if ((exp + n - 1) < limits::min_exponent10) {
829 } else if ((exp + n - 1) > limits::max_exponent10 ) {
837 x = _Stl_atodT<D,IEEE,M,BIAS>(digits, n, exp);