You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: