Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to master for v2.4.0 #747

Merged
merged 89 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
c4222aa
Improved equality implementations for d32 and d64
mborland Sep 20, 2024
738618c
Change d32 less than implementation
mborland Sep 20, 2024
7f63f4f
Revert changes to decimal64
mborland Sep 20, 2024
9543df5
Merge pull request #729 from cppalliance/better_comps
mborland Sep 23, 2024
cae651c
Use improved operator== with less than and fix 0s
mborland Sep 23, 2024
02f8de9
Improve operator< for decimal64
mborland Sep 23, 2024
cd60eb6
Reduce operations in umul256
mborland Sep 24, 2024
9feef9a
Change macro for static variables
mborland Sep 24, 2024
c6927fa
Refactor numbers implementation to fix static specializations
mborland Sep 24, 2024
ad2b7cf
Use |= instead of += on bool
mborland Sep 24, 2024
a2265f3
Refactor attributes
mborland Sep 24, 2024
13726f3
Add workaround for broken compiler support
mborland Sep 24, 2024
c1086d7
Merge pull request #731 from cppalliance/128_mul
mborland Sep 24, 2024
cb7f7b0
Merge pull request #732 from cppalliance/fix_clang19
mborland Sep 24, 2024
a1db020
Improve decimal128 multiplication
mborland Sep 24, 2024
471ebb2
Trim trailing zeros for dec128_fast mul
mborland Sep 24, 2024
c4bd2af
Fix platform dependent shortening error
mborland Sep 24, 2024
9e61fca
Merge pull request #730 from cppalliance/64_bit_comps
mborland Sep 24, 2024
91811d0
Merge pull request #733 from cppalliance/faster_dec128_mul
mborland Sep 24, 2024
a93d704
Add support for b2 modular builds and boostlook
mborland Sep 25, 2024
6725d33
Merge pull request #734 from cppalliance/modular
mborland Sep 25, 2024
8b099f7
Add encoding table
mborland Sep 25, 2024
e04ebd7
Add decoding logic
mborland Sep 25, 2024
dfc7765
Make to_dpd_d32 a friend
mborland Sep 25, 2024
6d7301d
Add test set
mborland Sep 25, 2024
e792986
Add to overall decimal project
mborland Sep 25, 2024
694c2d3
Complete implementation of decoding from DPD
mborland Sep 25, 2024
c11da26
Implement proper encoding
mborland Sep 26, 2024
7511151
Fix bounds
mborland Sep 26, 2024
4977b67
Encode using jump table
mborland Sep 26, 2024
3657a36
Add assertions
mborland Sep 26, 2024
4ace3ea
Validate encoding path
mborland Sep 26, 2024
437e613
Fix endianess of encoding
mborland Sep 26, 2024
1454d88
Re-enable regular dec32 testing
mborland Sep 26, 2024
74383dc
C++20 is not required
mborland Sep 26, 2024
6e50c82
Update docs
mborland Sep 26, 2024
f8dc430
Add testing of non-finite values
mborland Sep 26, 2024
e9b0200
Add handling of non-finite numbers in from_dpd
mborland Sep 26, 2024
e389dbb
Fix conversion errors
mborland Sep 26, 2024
b930cd8
Fix more conversion warnings
mborland Sep 26, 2024
4d595b8
Add LCOV exclude markers
mborland Sep 30, 2024
db3e924
Test larger range of values
mborland Sep 30, 2024
6e237c6
Merge pull request #738 from cppalliance/dpd
mborland Sep 30, 2024
56a2643
Simplify d32 bid_conversions
mborland Sep 30, 2024
8dde585
Simplify and document d32_fast bid conversions
mborland Sep 30, 2024
917c21a
Simplify and document d64 bid conversions
mborland Sep 30, 2024
e14ca7c
Simplify and document d64_fast bid conversions
mborland Sep 30, 2024
ec1059a
Simplify and document d128 bid conversions
mborland Sep 30, 2024
63c121f
Simplify and document d128f bid conversions
mborland Sep 30, 2024
71fe572
Add template overload to match from_bid
mborland Sep 30, 2024
1b49d85
Merge pull request #739 from cppalliance/simplify_bid
mborland Sep 30, 2024
c8113b3
Add to dpd64 code
mborland Sep 30, 2024
428f2e6
Add from dpd64
mborland Sep 30, 2024
918938a
Refactor calling functions
mborland Sep 30, 2024
39af8f9
Fix wrong mask usage
mborland Sep 30, 2024
339a887
Add 64-bit decimal type testing
mborland Sep 30, 2024
16712c0
Merge pull request #742 from cppalliance/dpd64
mborland Sep 30, 2024
00959cd
Fix bid typo
mborland Sep 30, 2024
12c13a3
Add conversions to the docs
mborland Sep 30, 2024
fbfe630
Add to_dpd_128
mborland Sep 30, 2024
112051b
Add friend to d128_fast
mborland Sep 30, 2024
bcecb9f
Add static assertion for target decimal type
mborland Sep 30, 2024
347a3aa
Add 128-bit from_dpd conversion overload
mborland Sep 30, 2024
7250c7c
Fix conversion of declets
mborland Sep 30, 2024
2f3b451
Add 128-bit dpd conversion testing
mborland Sep 30, 2024
d55f599
Fix MS platform conversion error
mborland Sep 30, 2024
48e9a87
Merge pull request #743 from cppalliance/dpd128
mborland Oct 1, 2024
0cc8828
Update benchmarks to use <charconv> rather than boost.charconv
mborland Oct 1, 2024
38b06dc
Add in section for <charconv> benchmarks
mborland Oct 2, 2024
d92e677
Add explanation for dec128_fast mul being slower than dec128
mborland Oct 2, 2024
1516607
Re-run and update all macos benchmarks
mborland Oct 2, 2024
8245e51
Move discussion of operator*
mborland Oct 2, 2024
c3c98b4
Update x64 linux basic timing benchmarks
mborland Oct 2, 2024
38c7a43
Add x64 linux <charconv> benchmarks
mborland Oct 2, 2024
eedafdf
Add windows benchmarks of basic operations
mborland Oct 2, 2024
bff6741
Add windows benchmarks of <charconv>
mborland Oct 2, 2024
a612d97
Merge branch 'updated_benchmarks' into develop
mborland Oct 2, 2024
2b3bbb1
Add the examples to the test battery
mborland Oct 1, 2024
d844e8d
Add example of the bit conversions
mborland Oct 1, 2024
cccf67b
Add conversion example to docs
mborland Oct 1, 2024
5b86376
Move location
mborland Oct 1, 2024
2aa98c4
Update charconv example
mborland Oct 1, 2024
487e105
Improve maybe_unused definition
mborland Oct 1, 2024
a814570
Fix errors in examples
mborland Oct 1, 2024
6868405
Fix clang error
mborland Oct 1, 2024
dfabd0f
Remove maybe unused attribute from static constexpr member variables
mborland Oct 2, 2024
58ee813
Remove non-functional pragmas
mborland Oct 2, 2024
e39e572
Remove uneeded attribute in Charconv
mborland Oct 3, 2024
6bdf768
Merge pull request #745 from cppalliance/examples
mborland Oct 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright René Ferdinand Rivera Morell 2023-2024
# Copyright Matt Borland 2024
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

require-b2 5.2 ;

project /boost/decimal
: common-requirements
<include>include
;

explicit
[ alias boost_core ]
[ alias all : boost_decimal test ]
;

call-if : boost-library decimal
;
6 changes: 5 additions & 1 deletion doc/Jamfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Copyright 2017, 2018 Peter Dimov
# Copyright 2024 Matt Borland
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt

import asciidoctor ;

html decimal.html : decimal.adoc ;
html decimal.html : decimal.adoc
: <use>/boost/boostlook//boostlook
<dependency>decimal-docinfo-footer.html
;

install html_ : decimal.html : <location>html ;

Expand Down
Loading
Loading