mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 18:28:20 +00:00
Merge branch 'master' of github.com:fmtlib/fmt
This commit is contained in:
commit
8833f386e4
@ -33,6 +33,8 @@ help victims of the war in Ukraine: https://www.stopputin.net/.
|
|||||||
|
|
||||||
`Documentation <https://fmt.dev>`__
|
`Documentation <https://fmt.dev>`__
|
||||||
|
|
||||||
|
`Cheat Sheets <https://hackingcpp.com/cpp/libs/fmt.html>`__
|
||||||
|
|
||||||
Q&A: ask questions on `StackOverflow with the tag fmt
|
Q&A: ask questions on `StackOverflow with the tag fmt
|
||||||
<https://stackoverflow.com/questions/tagged/fmt>`_.
|
<https://stackoverflow.com/questions/tagged/fmt>`_.
|
||||||
|
|
||||||
|
@ -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);
|
||||||
constexpr 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