Mateusz Pusz
|
ca9c3086f4
|
refactor: visit_format_arg is deprecated in C++26
|
2025-03-19 12:30:53 +01:00 |
|
Mateusz Pusz
|
8456416acc
|
fix: Wunused-result warning disabled for clang-20.1 (compiler bug)
|
2025-03-19 12:27:55 +01:00 |
|
Mateusz Pusz
|
36d1b87019
|
build: clang-20 enabled in CI
|
2025-03-19 09:40:30 +01:00 |
|
Mateusz Pusz
|
37afc37eb6
|
Merge pull request #688 from jharwell/rng-distribution-fix
Fix {normal, extreme_value} distributions to work with quantities
|
2025-03-11 18:15:50 +01:00 |
|
Mateusz Pusz
|
7945e8e60f
|
Merge branch 'master' of github.com:mpusz/units
|
2025-03-09 16:39:21 +01:00 |
|
Mateusz Pusz
|
6b80ef6302
|
fix: setting MP_UNITS_EXPLICIT_THIS_PARAMETER_SUPPORTED fixed to account for C++ version
Resolves #685
|
2025-03-09 16:39:17 +01:00 |
|
John Harwell
|
0d664b462d
|
Fix {normal, extreme_value} distributions to work with quantities
|
2025-03-03 13:21:56 -06:00 |
|
Mateusz Pusz
|
7102a4f63d
|
fix: previous commit put MSVC code in an incorrect scope
|
2025-02-15 18:41:50 +01:00 |
|
Mateusz Pusz
|
8454949adb
|
build: silenced MSVC warning for #include in a module purview
|
2025-02-15 18:19:57 +01:00 |
|
Mateusz Pusz
|
8eef11144b
|
refactor: branch with constant condition changed to if constexpr
|
2025-02-15 14:29:52 +01:00 |
|
Mateusz Pusz
|
a6c8130f88
|
fix: MSVC complained about the usage of deprecated member
|
2025-02-15 14:29:24 +01:00 |
|
Mateusz Pusz
|
e625843d93
|
Merge pull request #681 from mpusz/msvc_fix
refactor: MSVC bug is fixed so workaround is removed
|
2025-02-15 13:08:24 +01:00 |
|
Mateusz Pusz
|
dc8843eeeb
|
refactor: MSVC bug is fixed so workaround is removed
|
2025-02-15 10:39:36 +01:00 |
|
Mateusz Pusz
|
014458864c
|
fix: std::numeric_limits usage fixed
|
2025-02-13 19:48:13 +01:00 |
|
Mateusz Pusz
|
5a0e350be7
|
feat: lerp and midpoint for points added
|
2025-02-13 14:26:51 +01:00 |
|
Mateusz Pusz
|
f5f502e76f
|
docs: CHANGELOG updated
|
2025-02-12 20:28:44 +01:00 |
|
Mateusz Pusz
|
7d340d9098
|
fix: appleclang-15 timeout on compilation workaround
|
2025-02-12 19:21:24 +01:00 |
|
Mateusz Pusz
|
ded736a422
|
style: pre-commit
|
2025-02-12 19:11:27 +01:00 |
|
Mateusz Pusz
|
92ee3a9e03
|
docs: old customization poits removed from the "Character of a Quantity" chapter
|
2025-02-12 18:58:15 +01:00 |
|
Mateusz Pusz
|
b10c611902
|
docs: "Cconcepts" chapter updated
|
2025-02-12 18:57:29 +01:00 |
|
Mateusz Pusz
|
4b1f7cd217
|
feat: 💥 Representation concept removed
|
2025-02-12 18:57:06 +01:00 |
|
Mateusz Pusz
|
5963a2eb87
|
refactor: 💥 MagConstant concept renamed to detail::is_mag_constant variable trait
|
2025-02-12 09:51:14 +01:00 |
|
Mateusz Pusz
|
47cd2fffcc
|
refactor: math_concepts.h removed and concepts replaced with explicit expression in constraints
|
2025-02-12 08:40:06 +01:00 |
|
Mateusz Pusz
|
e9c5f7236e
|
feat: ConvertibleWithNumber introduced to improve convertibility of unit one with raw numbers
Resolves #675
|
2025-02-11 21:28:15 +01:00 |
|
Mateusz Pusz
|
836880c3a1
|
test: quantity character concepts tests for quantities added
|
2025-02-11 20:58:53 +01:00 |
|
Mateusz Pusz
|
47a82f466c
|
refactor: scalar and complex renamed to real_scalar and complex_scalar respectively + concepts refactoring + electromagnetism fixes
|
2025-02-11 17:26:19 +01:00 |
|
Mateusz Pusz
|
9fb08e3c95
|
feat: electromagnetism.h updated to IEC80000-6-2022
|
2025-02-11 16:53:40 +01:00 |
|
Mateusz Pusz
|
fa482c9246
|
feat: deprecation messages now provide the release version where the deprecation happened
|
2025-02-11 10:07:34 +01:00 |
|
Mateusz Pusz
|
ea06827f27
|
docs: "Scaling overflow prevention" chapter added
|
2025-02-06 20:07:05 +01:00 |
|
Mateusz Pusz
|
79e88a5ce7
|
docs: intro to "Value Conversions" chapter added
|
2025-02-06 20:06:43 +01:00 |
|
Mateusz Pusz
|
c6e95a9fc7
|
refactor: limits.h removed and the contents moved to quantity.h and quantity_point.h
Resolves #673
|
2025-02-06 17:16:12 +01:00 |
|
Mateusz Pusz
|
51559d094b
|
refactor: might_store_converted_value refactored to overflows_non_zero_values
|
2025-02-06 16:55:37 +01:00 |
|
Mateusz Pusz
|
d5a846af3d
|
fix: MSVC compilation fixed
|
2025-02-06 16:21:47 +01:00 |
|
Mateusz Pusz
|
dd2d49a4d3
|
build: fmt/11.1.1
Resolves #602
|
2025-02-06 15:35:20 +01:00 |
|
Mateusz Pusz
|
5d4e1aa740
|
feat: might_store_converted_common_value added to detect conversions overflowing rep
Resolves #670, resolves #671, resolves #658, resolves #303
|
2025-02-06 15:28:55 +01:00 |
|
Mateusz Pusz
|
e5d2b95a1b
|
fix: std::isnan compilation fixed for freestanding and C++20
|
2025-02-05 18:16:15 +01:00 |
|
Mateusz Pusz
|
88439828a5
|
feat: std::numeric_limits support added
Resolves #408
|
2025-02-05 18:04:43 +01:00 |
|
Mateusz Pusz
|
b8855dc7ba
|
fix: floor and ceil constaints fixed
|
2025-02-05 17:27:32 +01:00 |
|
Mateusz Pusz
|
8d2dddb8b6
|
refactor: less, ceil, and round refactored and improved + more unit tests for round
Resolves #672
|
2025-02-05 12:10:36 +01:00 |
|
Mateusz Pusz
|
0b14d69539
|
feat: quantity::one() removed
Related to #408
|
2025-02-05 12:08:32 +01:00 |
|
Mateusz Pusz
|
94d7b2bb10
|
docs: reactive power fixed in the blog article
|
2025-01-26 13:56:33 +01:00 |
|
Mateusz Pusz
|
7ea23dd8da
|
docs: complex character added to the "Quantity character" chapter
|
2025-01-24 12:03:54 +01:00 |
|
Mateusz Pusz
|
a74658937a
|
feat: rankine unit added
|
2025-01-22 11:01:36 +01:00 |
|
Mateusz Pusz
|
7c54067a55
|
fix: type ordering in a unit test fixed for gcc
|
2025-01-21 12:53:57 +01:00 |
|
Mateusz Pusz
|
becb456da5
|
fix: missing get_common_unit() overload added
Resolves #666
|
2025-01-21 12:37:54 +01:00 |
|
Mateusz Pusz
|
a489548cd3
|
docs: intro to "Bringing Quantity-Safety To The Next Level" improved
|
2025-01-17 14:10:34 +01:00 |
|
Mateusz Pusz
|
d891e866dc
|
docs: "Should we get rid of a quantity_point?" chapter extended with an alternative solution
|
2025-01-17 12:15:50 +01:00 |
|
Mateusz Pusz
|
329ffdaacb
|
docs: minor cleanup of the blog post based on Johel's feedback
|
2025-01-15 16:32:24 +01:00 |
|
Mateusz Pusz
|
10295ade29
|
docs: std::abs() mentioned in the info admonition in a blog post
|
2025-01-15 14:36:01 +01:00 |
|
Mateusz Pusz
|
a321ad21c2
|
Merge branch 'master' of github.com:mpusz/units
|
2025-01-15 14:03:27 +01:00 |
|