Fix fallback float formatter at assymetric bounds (#1976)
This commit is contained in:
@@ -2332,7 +2332,7 @@ void fallback_format(Double d, int num_digits, bool binary32, buffer<char>& buf,
|
||||
upper = &upper_store;
|
||||
}
|
||||
denominator.assign_pow10(exp10);
|
||||
denominator <<= 1;
|
||||
denominator <<= shift;
|
||||
} else if (exp10 < 0) {
|
||||
numerator.assign_pow10(-exp10);
|
||||
lower.assign(numerator);
|
||||
|
||||
Reference in New Issue
Block a user