This commit is contained in:
parent
2cf554b932
commit
858bcc1f18
@ -2203,7 +2203,7 @@ FMT_CONSTEXPR20 auto do_write_float(OutputIt out, const DecimalFP& fp,
|
|||||||
-> OutputIt {
|
-> OutputIt {
|
||||||
auto significand = fp.significand;
|
auto significand = fp.significand;
|
||||||
int significand_size = get_significand_size(fp);
|
int significand_size = get_significand_size(fp);
|
||||||
Char zero = static_cast<Char>('0');
|
const Char zero = static_cast<Char>('0');
|
||||||
auto sign = fspecs.sign;
|
auto sign = fspecs.sign;
|
||||||
size_t size = to_unsigned(significand_size) + (sign ? 1 : 0);
|
size_t size = to_unsigned(significand_size) + (sign ? 1 : 0);
|
||||||
using iterator = reserve_iterator<OutputIt>;
|
using iterator = reserve_iterator<OutputIt>;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user