Eigen NumTraits specialisation doesn't define max_digits10()
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Locate the Eigen integration's NumTraits specialisation and compare it with the base class and the corresponding Eigen issue 2985. Check how Eigen 5 requests max_digits10 when printing matrices containing multiprecision scalars, then validate that the missing member functions are available and matrix printing works.
Written by the indexing model from the issue text.
Description
The NumTraits specialisation which Boost multiprecision provides as part of its Eigen integration is missing a few member functions. One of these is max_digits10 which is required by Eigen 5 for printing matrices containing multiprecision scalars.
Corresponding Eigen issue:
https://gitlab.com/libeigen/eigen/-/issues/2985
where it seems the solution is to either inherit from the base class (to bring in a default) or explicit implement the relevant methods.
- Dominant language
- C++
- Stars
- 268
- Forks
- 130
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/multiprecision
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
boostorg/multiprecision#779 · 1 comment ·
-
cpp_bin_float fma rounds the product before the addition instead of fusingPossibly taken @NAThompson claimed this 43 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
boostorg/multiprecision#777 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
boostorg/multiprecision#775 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
boostorg/multiprecision#768 · 4 comments ·
-
`cpp_double_fp_backend` optimized single-limb operationsMay be free again @ckormanyos claimed this 462 days ago, and no pull request is open. Openenhancement optimization
boostorg/multiprecision#728 · 1 assignee ·
All issues in boostorg/multiprecision
Similar issues
-
agent:WSL code-review linux pri:medium refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
psi29a/d2decomped#691 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CachyOS/packageinstaller#144 ·
Maintainers usually reply within 1 day
-
(S1 - Need confirmation)
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
CleverRaven/Cataclysm-DDA#89715 ·
Maintainers usually reply within 1 day