Skip to content

Commit 9304476

Browse files
authored
Merge pull request #324 from ckormanyos/update_containers
2 parents 7feb446 + e2db647 commit 9304476

10 files changed

Lines changed: 278 additions & 293 deletions

File tree

.github/workflows/CodeQL.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ------------------------------------------------------------------------------
2-
# Copyright Christopher Kormanyos 2022 - 2025.
2+
# Copyright Christopher Kormanyos 2022 - 2026.
33
# Distributed under the Boost Software License,
44
# Version 1.0. (See accompanying file LICENSE_1_0.txt
55
# or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131

3232
- name: clone-submods-bootstrap-headers-boost-develop
3333
run: |

.github/workflows/wide_decimal.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
container: johnmcfarlane/cnl_ci:clang-13-libcpp
3030
container: ${{matrix.container}}
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3333
- name: create build directory
3434
run: mkdir $GITHUB_WORKSPACE/build
3535
- name: install Boost
@@ -61,7 +61,7 @@ jobs:
6161
standard: [ c++20 ]
6262
compiler: [ g++, clang++ ]
6363
steps:
64-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@v6
6565
with:
6666
fetch-depth: '0'
6767
- name: update-tools
@@ -100,7 +100,7 @@ jobs:
100100
standard: [ c++20, c++23 ]
101101
compiler: [ g++, clang++ ]
102102
steps:
103-
- uses: actions/checkout@v4
103+
- uses: actions/checkout@v6
104104
with:
105105
fetch-depth: '0'
106106
- name: clone-submods-bootstrap-headers-boost-develop
@@ -131,7 +131,7 @@ jobs:
131131
standard: [ c++20 ]
132132
compiler: [ g++, clang++ ]
133133
steps:
134-
- uses: actions/checkout@v4
134+
- uses: actions/checkout@v6
135135
with:
136136
fetch-depth: '0'
137137
- name: clone-submods-bootstrap-headers-boost-develop
@@ -162,7 +162,7 @@ jobs:
162162
standard: [ c++20 ]
163163
compiler: [ g++, clang++ ]
164164
steps:
165-
- uses: actions/checkout@v4
165+
- uses: actions/checkout@v6
166166
with:
167167
fetch-depth: '0'
168168
- name: clone-submods-bootstrap-headers-boost-develop
@@ -193,7 +193,7 @@ jobs:
193193
standard: [ c++20 ]
194194
compiler: [ g++, clang++ ]
195195
steps:
196-
- uses: actions/checkout@v4
196+
- uses: actions/checkout@v6
197197
with:
198198
fetch-depth: '0'
199199
- name: clone-submods-bootstrap-headers-boost-develop
@@ -224,7 +224,7 @@ jobs:
224224
standard: [ c++20 ]
225225
compiler: [ g++, clang++ ]
226226
steps:
227-
- uses: actions/checkout@v4
227+
- uses: actions/checkout@v6
228228
with:
229229
fetch-depth: '0'
230230
- name: clone-submods-bootstrap-headers-boost-develop
@@ -255,7 +255,7 @@ jobs:
255255
standard: [ c++20 ]
256256
compiler: [ g++, clang++ ]
257257
steps:
258-
- uses: actions/checkout@v4
258+
- uses: actions/checkout@v6
259259
with:
260260
fetch-depth: '0'
261261
- name: clone-submods-bootstrap-headers-boost-develop
@@ -286,7 +286,7 @@ jobs:
286286
standard: [ c++20 ]
287287
compiler: [ g++, clang++ ]
288288
steps:
289-
- uses: actions/checkout@v4
289+
- uses: actions/checkout@v6
290290
with:
291291
fetch-depth: '0'
292292
- name: clone-submods-bootstrap-headers-boost-develop
@@ -317,7 +317,7 @@ jobs:
317317
standard: [ c++20 ]
318318
compiler: [ g++, clang++ ]
319319
steps:
320-
- uses: actions/checkout@v4
320+
- uses: actions/checkout@v6
321321
with:
322322
fetch-depth: '0'
323323
- name: clone-submods-bootstrap-headers-boost-develop
@@ -348,7 +348,7 @@ jobs:
348348
standard: [ c++20 ]
349349
compiler: [ g++, clang++ ]
350350
steps:
351-
- uses: actions/checkout@v4
351+
- uses: actions/checkout@v6
352352
with:
353353
fetch-depth: '0'
354354
- name: clone-submods-bootstrap-headers-boost-develop
@@ -371,7 +371,7 @@ jobs:
371371
msvc-release-x64:
372372
runs-on: windows-latest
373373
steps:
374-
- uses: actions/checkout@v4
374+
- uses: actions/checkout@v6
375375
with:
376376
fetch-depth: '0'
377377
- uses: ilammy/msvc-dev-cmd@v1
@@ -387,7 +387,7 @@ jobs:
387387
git submodule update --init libs/multiprecision
388388
./bootstrap.bat
389389
./b2 headers
390-
- uses: actions/checkout@v4
390+
- uses: actions/checkout@v6
391391
- uses: ilammy/msvc-dev-cmd@v1
392392
with:
393393
toolset: 14.2
@@ -402,7 +402,7 @@ jobs:
402402
msvc-release-x64-vs2022:
403403
runs-on: windows-latest
404404
steps:
405-
- uses: actions/checkout@v4
405+
- uses: actions/checkout@v6
406406
- name: clone-boost-develop
407407
working-directory: ${{ runner.workspace }}
408408
run: |
@@ -442,7 +442,7 @@ jobs:
442442
compiler: [ g++ ]
443443
standard: [ c++20 ]
444444
steps:
445-
- uses: actions/checkout@v4
445+
- uses: actions/checkout@v6
446446
with:
447447
fetch-depth: '0'
448448
- uses: msys2/setup-msys2@v2
@@ -474,9 +474,9 @@ jobs:
474474
fail-fast: false
475475
matrix:
476476
compiler: [ g++ ]
477-
standard: [ c++17, c++20 ]
477+
standard: [ c++20 ]
478478
steps:
479-
- uses: actions/checkout@v4
479+
- uses: actions/checkout@v6
480480
with:
481481
fetch-depth: '0'
482482
- name: clone-submods-boost-develop
@@ -513,7 +513,7 @@ jobs:
513513
example: [ example013_embeddable_sqrt, example013a_embeddable_agm ]
514514
standard: [ c++20 ]
515515
steps:
516-
- uses: actions/checkout@v4
516+
- uses: actions/checkout@v6
517517
with:
518518
fetch-depth: '0'
519519
- name: update-tools
@@ -550,7 +550,7 @@ jobs:
550550
example: [ example013_embeddable_sqrt, example013a_embeddable_agm ]
551551
standard: [ c++14 ]
552552
steps:
553-
- uses: actions/checkout@v4
553+
- uses: actions/checkout@v6
554554
with:
555555
fetch-depth: '0'
556556
- name: update-tools
@@ -586,7 +586,7 @@ jobs:
586586
run:
587587
shell: bash
588588
steps:
589-
- uses: actions/checkout@v4
589+
- uses: actions/checkout@v6
590590
with:
591591
fetch-depth: '0'
592592
- name: update-tools
@@ -643,7 +643,7 @@ jobs:
643643
compiler: [ g++, clang++ ]
644644
suite: [ test_high_precision_exp, test_high_precision_log ]
645645
steps:
646-
- uses: actions/checkout@v4
646+
- uses: actions/checkout@v6
647647
with:
648648
fetch-depth: '0'
649649
- name: clone-submods-bootstrap-headers-boost-develop
@@ -677,7 +677,7 @@ jobs:
677677
compiler: [ g++, clang++ ]
678678
suite: [ test_mixed_wide_decimal_wide_integer_b2n ]
679679
steps:
680-
- uses: actions/checkout@v4
680+
- uses: actions/checkout@v6
681681
with:
682682
fetch-depth: '0'
683683
- name: clone-wide_integer
@@ -701,7 +701,7 @@ jobs:
701701
standard: [ c++20 ]
702702
compiler: [ g++ ]
703703
steps:
704-
- uses: actions/checkout@v4
704+
- uses: actions/checkout@v6
705705
with:
706706
fetch-depth: '0'
707707
- name: clone-submods-bootstrap-headers-boost-develop

.github/workflows/wide_decimal_codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ------------------------------------------------------------------------------
2-
# Copyright Christopher Kormanyos 2022 - 2025.
2+
# Copyright Christopher Kormanyos 2022 - 2026.
33
# Distributed under the Boost Software License,
44
# Version 1.0. (See accompanying file LICENSE_1_0.txt
55
# or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -24,7 +24,7 @@ jobs:
2424
standard: [ c++20 ]
2525
compiler: [ g++ ]
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828
with:
2929
fetch-depth: '0'
3030
- name: update-tools

.github/workflows/wide_decimal_sonar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
sonar-gcc-native:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222
- name: clone-submods-bootstrap-headers-boost-develop
@@ -33,7 +33,7 @@ jobs:
3333
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@v6.0.0
3434
- name: Run Build Wrapper
3535
run: |
36-
build-wrapper-linux-x86-64 --out-dir ${{ runner.workspace }}/build_wrapper_output_directory g++ -finline-functions -finline-limit=32 -m64 -O3 -Werror -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion -Wno-cast-function-type -std=c++20 -DWIDE_DECIMAL_NAMESPACE=ckormanyos -I. -I../boost-root -pthread -lpthread test/test.cpp test/test_decwide_t_algebra.cpp test/test_decwide_t_algebra_edge.cpp test/test_decwide_t_examples.cpp examples/example000a_multiply_pi_squared.cpp examples/example000_multiply_nines.cpp examples/example001_roots_sqrt.cpp examples/example001a_roots_seventh.cpp examples/example001b_roots_almost_integer.cpp examples/example001c_roots_sqrt_limb08.cpp examples/example001d_pow2_from_list.cpp examples/example002_pi.cpp examples/example001e_algebra_and_constexpr.cpp examples/example002a_pi_small_limb.cpp examples/example002b_pi_100k.cpp examples/example002c_pi_quintic.cpp examples/example002d_pi_limb08.cpp examples/example003_zeta.cpp examples/example004_bessel_recur.cpp examples/example005_polylog_series.cpp examples/example006_logarithm.cpp examples/example007_catalan_series.cpp examples/example008_bernoulli_tgamma.cpp examples/example009_boost_math_standalone.cpp examples/example009a_boost_math_standalone.cpp examples/example009b_boost_math_standalone.cpp examples/example010_hypergeometric_2f1.cpp examples/example010a_hypergeometric_1f1.cpp examples/example011_trig_trapezoid_integral.cpp examples/example012_rational_floor_ceil.cpp examples/example013_embeddable_sqrt.cpp examples/example013a_embeddable_agm.cpp -o wide_decimal.exe
36+
build-wrapper-linux-x86-64 --out-dir ${{ runner.workspace }}/build_wrapper_output_directory g++ -finline-functions -finline-limit=64 -m64 -O3 -Werror -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion -Wno-cast-function-type -std=c++20 -DWIDE_DECIMAL_NAMESPACE=ckormanyos -I. -I../boost-root -pthread -lpthread test/test.cpp test/test_decwide_t_algebra.cpp test/test_decwide_t_algebra_edge.cpp test/test_decwide_t_examples.cpp examples/example000a_multiply_pi_squared.cpp examples/example000_multiply_nines.cpp examples/example001_roots_sqrt.cpp examples/example001a_roots_seventh.cpp examples/example001b_roots_almost_integer.cpp examples/example001c_roots_sqrt_limb08.cpp examples/example001d_pow2_from_list.cpp examples/example002_pi.cpp examples/example001e_algebra_and_constexpr.cpp examples/example002a_pi_small_limb.cpp examples/example002b_pi_100k.cpp examples/example002c_pi_quintic.cpp examples/example002d_pi_limb08.cpp examples/example003_zeta.cpp examples/example004_bessel_recur.cpp examples/example005_polylog_series.cpp examples/example006_logarithm.cpp examples/example007_catalan_series.cpp examples/example008_bernoulli_tgamma.cpp examples/example009_boost_math_standalone.cpp examples/example009a_boost_math_standalone.cpp examples/example009b_boost_math_standalone.cpp examples/example010_hypergeometric_2f1.cpp examples/example010a_hypergeometric_1f1.cpp examples/example011_trig_trapezoid_integral.cpp examples/example012_rational_floor_ceil.cpp examples/example013_embeddable_sqrt.cpp examples/example013a_embeddable_agm.cpp -o wide_decimal.exe
3737
- name: SonarQube Scan
3838
uses: SonarSource/sonarqube-scan-action@v6.0.0
3939
env:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Wide-decimal implements both elementary algebraic operations as well as
3737
a few common `<cmath>`-like functions such as `fabs`, `sqrt` and `log`.
3838
It also includes full support for `std::numeric_limits`.
3939

40-
Wide-decimal is written in header-only C++14, and compatible through C++14, 17, 20, 23 and beyond.
40+
Wide-decimal is written in header-only C++20, and compatible through C++20, 23 and beyond.
4141

4242
## Implementation goals
4343

4444
- Instances of the `decwide_t` type should behave as closely as possible to the behavior of built-in floating-point types.
4545
- Relatively wide precision range from about ${\sim}~10 {\ldots} 10^{7}$ decimal digits.
4646
- Moderately good efficiency over the entire wide precision range.
4747
- Clean header-only C++14 design.
48-
- Seamless portability to any modern C++14, 17, 20, 23 compiler and beyond.
48+
- Seamless portability to any modern C++20, 23 compiler and beyond.
4949
- Scalability with small memory footprint and efficiency suitable for both PC/workstation systems as well as _bare-metal_ embedded systems.
5050

5151
## Quick start

0 commit comments

Comments
 (0)