Skip to content

Add constexpr support for dynamic allocated cpp_int#654

Open
marcoffee wants to merge 20 commits into
boostorg:developfrom
marcoffee:feature/more-constexpr
Open

Add constexpr support for dynamic allocated cpp_int#654
marcoffee wants to merge 20 commits into
boostorg:developfrom
marcoffee:feature/more-constexpr

Reduce uncovered zero-initializer lines on cpp_int_backend::do_assign…

d0b80d2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 12, 2026 in 1s

96.3% (target 75.0%)

View this Pull Request on Codecov

96.3% (target 75.0%)

Details

Codecov Report

❌ Patch coverage is 99.20000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.3%. Comparing base (965194a) to head (d0b80d2).
⚠️ Report is 8 commits behind head on develop.

Files with missing lines Patch % Lines
include/boost/multiprecision/cpp_int.hpp 99.1% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop    #654     +/-   ##
=========================================
+ Coverage     96.2%   96.3%   +0.1%     
=========================================
  Files          301     304      +3     
  Lines        29462   29484     +22     
=========================================
+ Hits         28328   28366     +38     
+ Misses        1134    1118     -16     
Files with missing lines Coverage Δ
...de/boost/multiprecision/cpp_int/cpp_int_config.hpp 100.0% <ø> (ø)
include/boost/multiprecision/cpp_int/limits.hpp 100.0% <100.0%> (ø)
...nclude/boost/multiprecision/detail/empty_value.hpp 100.0% <100.0%> (ø)
...nclude/boost/multiprecision/detail/number_base.hpp 98.0% <ø> (ø)
test/constexpr_test_dynamic_cpp_int.hpp 100.0% <100.0%> (ø)
test/constexpr_test_dynamic_cpp_int_1.cpp 100.0% <100.0%> (ø)
test/constexpr_test_dynamic_cpp_int_2.cpp 100.0% <100.0%> (ø)
include/boost/multiprecision/cpp_int.hpp 97.2% <99.1%> (+1.7%) ⬆️

... and 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

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