See https://gcc.godbolt.org/z/dojMjE
printf'ing the number -0.00884311 with %06.0f produces -00000 (hyphen followed by 5 zeroes). With fmt::printf and with, what I believe to be the equivalent fmt::print format specifier, {:>06.0f}, fmtlib produces -0000 (hyphen followed by 4 zeroes). -0.1 always produces -00000.
The positive form of the number is also different, with printf producing 6 zeroes and fmtlib producing 5.
See https://gcc.godbolt.org/z/dojMjE
printf'ing the number -0.00884311 with %06.0f produces -00000 (hyphen followed by 5 zeroes). With fmt::printf and with, what I believe to be the equivalent fmt::print format specifier, {:>06.0f}, fmtlib produces -0000 (hyphen followed by 4 zeroes). -0.1 always produces -00000.
The positive form of the number is also different, with printf producing 6 zeroes and fmtlib producing 5.