Skip to content

refactor: drops boost::multiprecision for boost::int128 - #570

Merged
Becheler merged 1 commit into
boostorg:developfrom
Becheler:refactor/replace-multiprecision-with-int128
Aug 24, 2026
Merged

refactor: drops boost::multiprecision for boost::int128#570
Becheler merged 1 commit into
boostorg:developfrom
Becheler:refactor/replace-multiprecision-with-int128

Conversation

@Becheler

Copy link
Copy Markdown
Collaborator

Before submitting

  • This PR targets the develop branch.
  • I searched for an existing PR or issue covering the same change.
  • My contribution is licensed under the Boost Software License 1.0.

Type of change

  • Bug fix
  • New feature or API addition
  • Refactor (no behavior change)
  • Documentation
  • Build, CI, or tooling
  • Other (specify below)

Does this PR introduce a breaking change?

  • Yes (describe migration impact below)
  • No

What this PR does

Replace Boost.Multiprecision (25 dependencies) int128 with Boost.Int128 (0 dependency).

Motivation

Better type, faster, less dependencies.

Testing

Checklist

  • Existing tests pass (b2 in the test/ directory).
  • New behavior is covered by a test, or this is a docs / build / refactor change.
  • Documentation was updated if user-facing behavior changed.
  • No new compiler warnings on the platforms I built against.

@Becheler Becheler self-assigned this Aug 24, 2026
@Becheler Becheler added the dependencies Pull requests that update a dependency file label Aug 24, 2026
@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown

Boost dependency footprint vs develop (auto-generated).
PR run 32753442710 vs develop run 32724296748 (a6fc56bba7).

Header-inclusion weights (graph files pulling each direct dependency in):

Dependency develop PR Δ
multiprecision 1 0 -1
int128 0 1 +1

Transitive Boost modules: 66 → 66 (0)

  • added: charconv, int128
  • removed: math, multiprecision

@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown

Compiler-warning counts vs develop (auto-generated).
PR run 32753442826 vs develop run 32724296558 (a6fc56bba7).

Job Baseline After Delta
macos (clang, 14) 607 607 0
macos (clang, 17) 570 570 0
macos (clang, 20) 570 570 0
ubuntu (clang-19, 14) 607 607 0
ubuntu (clang-19, 17) 570 570 0
ubuntu (clang-19, 20) 570 570 0
ubuntu (clang-19, 23) 570 570 0
ubuntu (gcc-14, 14) 768 768 0
ubuntu (gcc-14, 17) 904 904 0
ubuntu (gcc-14, 20) 904 904 0
ubuntu (gcc-14, 23) 904 904 0
windows_msvc_14_3 (msvc-14.3) 938 938 0

@Becheler
Becheler force-pushed the refactor/replace-multiprecision-with-int128 branch from 43e4249 to 1043d90 Compare August 24, 2026 14:57
@Becheler Becheler changed the title refactor: use boost::int128 refactor: drops boost::multiprecision for boost::int128 Aug 24, 2026
@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

@Becheler
Becheler force-pushed the refactor/replace-multiprecision-with-int128 branch from 1043d90 to a6fc56b Compare August 24, 2026 16:53
@Becheler
Becheler merged commit 6c14d17 into boostorg:develop Aug 24, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant