Skip to content

Fix the text output of to_chars, snprintf, operator<< and std::format - #1536

Merged
mborland merged 7 commits into
boostorg:developfrom
ibmibmibm:ostream-fixes
Oct 27, 2026
Merged

mborland merged 7 commits into
boostorg:developfrom
ibmibmibm:ostream-fixes

Remove the diagnostic pragmas of locale_conversion.hpp and u256.hpp

baaf14f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 27, 2026 in 0s

98.4% (target 75.0%)

View this Pull Request on Codecov

98.4% (target 75.0%)

Details

Codecov Report

❌ Patch coverage is 96.27907% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.4%. Comparing base (c7a8e48) to head (baaf14f).

Files with missing lines Patch % Lines
test/github_issue_1533.cpp 93.7% 8 Missing ⚠️
test/github_issue_1532.cpp 95.0% 7 Missing ⚠️
include/boost/decimal/charconv.hpp 96.3% 5 Missing ⚠️
include/boost/decimal/cstdio.hpp 97.7% 3 Missing ⚠️
include/boost/decimal/detail/io.hpp 97.6% 3 Missing ⚠️
...ude/boost/decimal/detail/to_chars_integer_impl.hpp 82.4% 3 Missing ⚠️
test/github_issue_1534.cpp 83.4% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #1536     +/-   ##
=========================================
- Coverage     98.5%   98.4%   -0.0%     
=========================================
  Files          326     331      +5     
  Lines        27695   28245    +550     
  Branches      2305    2326     +21     
=========================================
+ Hits         27255   27784    +529     
- Misses         440     461     +21     
Files with missing lines Coverage Δ
include/boost/decimal/detail/locale_conversion.hpp 97.7% <100.0%> (+3.0%) ⬆️
include/boost/decimal/detail/u256.hpp 87.6% <100.0%> (ø)
test/github_issue_1530.cpp 100.0% <100.0%> (ø)
test/github_issue_1531.cpp 100.0% <100.0%> (ø)
test/test_decimal32_fast_stream.cpp 100.0% <100.0%> (ø)
test/test_decimal32_stream.cpp 100.0% <100.0%> (ø)
test/test_snprintf.cpp 100.0% <100.0%> (ø)
include/boost/decimal/cstdio.hpp 96.5% <97.7%> (-0.6%) ⬇️
include/boost/decimal/detail/io.hpp 92.5% <97.6%> (+12.9%) ⬆️
...ude/boost/decimal/detail/to_chars_integer_impl.hpp 83.9% <82.4%> (-7.6%) ⬇️
... and 4 more

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c7a8e48...baaf14f. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.