Skip to content

Fix the semantics of rescale and don't allow quantum operations on fast types - #1417

Merged
mborland merged 8 commits into
developfrom
rescale
Aug 8, 2026
Merged

Fix the semantics of rescale and don't allow quantum operations on fast types#1417
mborland merged 8 commits into
developfrom
rescale

Remove test that now has to fail

5e4f68e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 7, 2026 in 0s

98.3% (target 75.0%)

View this Pull Request on Codecov

98.3% (target 75.0%)

Details

Codecov Report

❌ Patch coverage is 94.38202% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.3%. Comparing base (0a6b3ef) to head (5e4f68e).
⚠️ Report is 6 commits behind head on develop.

Files with missing lines Patch % Lines
...nclude/boost/decimal/detail/cmath/comparetotal.hpp 0.0% 5 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #1417     +/-   ##
=========================================
+ Coverage     98.3%   98.3%   +0.1%     
=========================================
  Files          291     291             
  Lines        23876   23864     -12     
  Branches      2091    2087      -4     
=========================================
- Hits         23450   23441      -9     
+ Misses         426     423      -3     
Files with missing lines Coverage Δ
include/boost/decimal/cmath.hpp 100.0% <ø> (ø)
include/boost/decimal/detail/cmath/rescale.hpp 100.0% <100.0%> (ø)
include/boost/decimal/detail/quantize_impl.hpp 94.9% <ø> (ø)
test/test_decimal_quantum.cpp 100.0% <ø> (ø)
test/test_fixed_width_trunc.cpp 100.0% <100.0%> (ø)
...nclude/boost/decimal/detail/cmath/comparetotal.hpp 71.8% <0.0%> (-1.5%) ⬇️

... and 4 files with indirect coverage changes


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 0a6b3ef...5e4f68e. Read the comment docs.

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