Commit Graph
3669 Commits
Author SHA1 Message Date
Mateusz Pusz eeece8a356 feat: scaled_unit does not have a priority over derived_unit anymore
We want `pow<2>(mag<3600> * second)` to print `[3600 s]^2` and `42 * (mag<10> * metre) / (mag<20> * second)` to print `42 [10 m]/[20 s]`
2024-10-02 16:10:29 +02:00
Mateusz Pusz d7309c8602 feat: scaled_unit symbol printing improved ([] around the entire unit, small magnitude values do not use a power of 10 anymore) 2024-10-02 15:27:38 +02:00
Mateusz Pusz 61817ae61f refactor: abs moved to constexpr_math.h 2024-10-02 15:24:52 +02:00
Mateusz Pusz 25e99fe0fa feat: common unit symbols now use EQUIV{u1, u2, ...} syntax 2024-10-02 08:14:37 +02:00
Mateusz Pusz 0d00be067a refactor: convertible(U1, U2) implementation simplified 2024-10-01 21:37:31 +02:00
Mateusz Pusz 246defb9b2 fix: constraits for magnitude added for scaled_unit and fixed common_unit instantiating it incorrectly 2024-10-01 21:36:33 +02:00
Mateusz Pusz 4a98817c15 feat(example): currency example now uses chrono::time_point and has better interfaces 2024-10-01 19:53:02 +02:00
Mateusz Pusz 74c55baebe docs: minor cleanup of quantity hierarchies 2024-10-01 19:52:06 +02:00
Mateusz Pusz 77aa13e54d docs: minor cleanup of part 1 and 3 of ISQ series 2024-10-01 19:51:15 +02:00
Mateusz Pusz 50bfb1a21c docs: ISQ part 4 added 2024-10-01 19:50:48 +02:00
Mateusz Pusz 1ff527b5e8 docs: ISQ parts 1-3 improved 2024-10-01 12:07:19 +02:00
Mateusz Pusz e7663fe9fd ci: MSVC enabled on CMake CI 2024-09-30 20:03:10 +02:00
Mateusz Pusz a9fc203ee5 fix: MSVC workaround applied to test_package 2024-09-30 19:46:21 +02:00
Mateusz Pusz 1039332750 style: pre-commit whitespaces cleanup in ISQ articles 2024-09-30 19:21:36 +02:00
Mateusz Pusz c9c22ba08a ci: commands of ci-conan fixed for MSVC 2024-09-30 19:19:19 +02:00
Mateusz Pusz 367b03358d docs: "MSVC compiler support" chapter added to the 2.3.0 announcement 2024-09-30 19:11:10 +02:00
Mateusz Pusz cc043360d5 ci: MSVC added to the CI 2024-09-30 19:07:37 +02:00
Mateusz Pusz 5f1c53dcd8 docs: typo fixed in the "iec80000 system renamed to iec" chapter of the 2.3.0 announcement 2024-09-30 18:57:42 +02:00
Mateusz Pusz 801e14c9d9 docs: minor styling changes to the "Systems of Quantities" chapter 2024-09-30 18:25:53 +02:00
Mateusz Pusz 189e75b3c2 docs: 3 first articles of the ISQ series added 2024-09-30 18:25:03 +02:00
Mateusz Pusz 6ffe2d022a style: pre-commit 2024-09-30 18:23:34 +02:00
Mateusz Pusz 0da8af7ffe ci: sudo apt update added for documentation.yml in hope that it will resolve missing system pacakges issue 2024-09-30 17:11:15 +02:00
Mateusz Pusz 11338c4324 docs: blog comments support added 2024-09-30 14:47:28 +02:00
Mateusz Pusz 59eeba213a docs: category of the ISO meeting reports changed to "WG21 Updates" 2024-09-30 14:08:30 +02:00
Mateusz Pusz dc8772ca23 docs: graphs of ISQ kind hierarchies improved 2024-09-28 15:54:42 +02:00
Mateusz Pusz f9f488ca19 docs: missing systems added to the "Project Structure" chapter 2024-09-28 15:27:26 +02:00
Mateusz Pusz 47344b13bd refactor: pi mag_constant refactored to be one-liner 2024-09-28 15:20:41 +02:00
Mateusz Pusz fcbd172135 feat: iec::bit using-declared in iec::unit_symbols 2024-09-28 15:08:36 +02:00
Mateusz Pusz fb8f67c68a refactor: 💥 all iec quantity specifications are now deprecated and moved to isq
IEC 80000-13 is a part of ISQ so quantity specifications should be in an `isq` namespace.
2024-09-28 15:06:22 +02:00
Mateusz Pusz 5a48f19746 feat: 💥 phase_velocity and group_velocity aliases removed from ISQ by ISO 2024-09-28 11:58:28 +02:00
Mateusz Pusz 1c8b8ff8e9 fix: missing are_ingredients_convertible overloads added 2024-09-27 19:16:11 +02:00
Mateusz Pusz b4697896f4 docs: 2.4.0 section added to CHANGELOG 2024-09-27 13:44:39 +02:00
Mateusz Pusz 7fabd975dc chore: mp-units version bumped to 2.4.0 2024-09-27 13:38:51 +02:00
Mateusz Pusz 83941d9575 build(conan): default values for Conan options changed v2.3.0 2024-09-27 12:53:23 +02:00
Mateusz Pusz 7a196f47ba docs: CHANGELOG updated 2024-09-27 12:22:47 +02:00
Mateusz Pusz 3fc7ecc316 build(conan): packaging improved 2024-09-27 12:12:26 +02:00
Mateusz Pusz 7ea1ea0ff7 fix: __cpp_deleted_function workaround for clang-19 added 2024-09-27 11:59:37 +02:00
Mateusz Pusz 5f2cb78037 build: package_type is dynamically set in conanfile.py depending if we build modules or not 2024-09-27 07:53:13 +02:00
Mateusz Pusz 562c2e1ea1 docs: 2.3.0 release announcement updated 2024-09-26 20:48:20 +02:00
Mateusz Pusz 9ed9132794 docs: CHANGELOG updated 2024-09-26 20:46:37 +02:00
Mateusz Pusz 3190d15eba feat: common_unit support added 2024-09-26 20:28:41 +02:00
Mateusz Pusz 25af8c9d8f feat: for_each on std::tuple added 2024-09-26 16:40:20 +02:00
Mateusz Pusz 922907890f feat: type_list_unique added 2024-09-26 13:05:01 +02:00
Mateusz Pusz a27089cb9c Revert "build: clang no longer needs a workaround for 75057"
This reverts commit a7471ead84.
2024-09-26 10:30:34 +02:00
Mateusz Pusz a7471ead84 build: clang no longer needs a workaround for 75057 2024-09-26 10:24:32 +02:00
Mateusz Pusz 028410941d feat: multiply syntax for offset units marked as deprecated 2024-09-26 10:23:26 +02:00
Mateusz Pusz 1caa7b7406 feat: iec80000 namespace marked as deprecated 2024-09-26 10:22:43 +02:00
Mateusz Pusz fe1fab03a3 feat: mag_pi marked as deprecated 2024-09-26 10:20:45 +02:00
Mateusz Pusz 8c12f95ee5 Revert "feat: 💥 variadic template versions of get_common_XXX() removed (only 2-argument overloads used in practice)"
This reverts commit ab888aaecd.
2024-09-25 12:51:33 +02:00
Mateusz Pusz 534df1bfc1 fix: setting path to node_modules/.bin fixed 2024-09-25 12:49:57 +02:00