Commit Graph

  • 7774466c1c fix: clang-17 specific compilation fixes (partially contributed by @JohelEGP) Mateusz Pusz 2023-06-16 14:54:22 +03:00
  • 5dcf87ac28 docs: link to the code example updated in README Mateusz Pusz 2023-06-16 13:55:27 +03:00
  • 5ca1856408 fix(example): value_cast prefixed with a namespace in conversion_factor example Mateusz Pusz 2023-06-16 13:54:45 +03:00
  • 8c54bbdc9a refactor(example): hello_units example changed to better reflect the code in README Mateusz Pusz 2023-06-16 10:26:34 +03:00
  • a99bac83a1 docs: README updated Mateusz Pusz 2023-06-16 10:16:05 +03:00
  • 669007bc66 build: repo URL fixed in conanfile Mateusz Pusz 2023-06-16 09:39:49 +03:00
  • 698b6ce338 refactor: sudo_cast if constexpr condition refactored Mateusz Pusz 2023-06-15 17:39:33 +03:00
  • fa8fc078df fix: forgot to add hacks header to ratio Mateusz Pusz 2023-06-15 17:38:59 +03:00
  • 34765a2ab1 refactor: a few ratio functions made constexpr for clang Mateusz Pusz 2023-06-15 17:31:08 +03:00
  • d380aa3800 refactor: clang has issues with CTAD for aggregates Mateusz Pusz 2023-06-15 17:28:35 +03:00
  • 6d488071fc refactor: clang still does not support C++17 feature related to template tempaltes with default compilation flags Mateusz Pusz 2023-06-15 17:27:28 +03:00
  • dcad3b6a56 refactor: alternative mag_pi implementation provided as a workaround for clang Mateusz Pusz 2023-06-15 17:26:16 +03:00
  • 5635f7d199 fix: QUANTITY_SPEC macro fixed Mateusz Pusz 2023-06-15 17:01:52 +03:00
  • c8c7baef05 refactor: unused header file removed Mateusz Pusz 2023-06-15 16:43:31 +03:00
  • 52ab3f1535 refactor: SI units do not depend on the entire ISQ anymore + header dependency compilation fixes Mateusz Pusz 2023-06-15 14:37:22 +03:00
  • 1a39f549ed docs: CHANGELOG updated Mateusz Pusz 2023-06-15 11:47:22 +03:00
  • 7a9800a8fa build: fmt updated to 10.0.0 Mateusz Pusz 2023-06-15 11:26:37 +03:00
  • eea3cbe52d style: whitespaces cleanup to make pre-commit happy Mateusz Pusz 2023-06-14 22:35:21 +03:00
  • 7d37e656cb chore: merge issues fixed Mateusz Pusz 2023-06-14 21:15:27 +03:00
  • e2bd12750b Merge commit 'ec04d9c03ddf12e46dca5348d4ca57b526e425f1' Mateusz Pusz 2023-06-14 21:13:07 +03:00
  • 354447bb73 docs: 0.8.0 release date set in CHANGELOG Mateusz Pusz 2023-06-14 20:46:06 +03:00
  • ec04d9c03d test: math static tests updated for V2 Mateusz Pusz 2023-06-14 15:58:21 +03:00
  • 3585e2a33c refactor: all math functions refectored Mateusz Pusz 2023-06-14 15:57:59 +03:00
  • 3f88da4ebf feat: clone_reference_with added Mateusz Pusz 2023-06-14 15:57:32 +03:00
  • 6d10572922 refactor: concept cleanup Mateusz Pusz 2023-06-14 09:14:43 +03:00
  • db35f05d68 test: more conversion tests added for dimensionless quantity specs Mateusz Pusz 2023-06-13 17:42:08 +03:00
  • 78a419524f test: isq::power test uncommented Mateusz Pusz 2023-06-13 17:41:22 +03:00
  • f267ab27a0 refactor: pow now uses quantity::one instead of rep(1) Mateusz Pusz 2023-06-13 17:39:09 +03:00
  • 034d44eb3f test: more concept tests added for dimensionless quantities Mateusz Pusz 2023-06-13 17:35:43 +03:00
  • 74ad0f6f68 fix: more constraints added to ReferenceOf to provide support for corner cases of dimensionless quantity tree Mateusz Pusz 2023-06-13 17:34:37 +03:00
  • 8ed82dfe96 refactor: DerivedFromQuantityKindSpecOf introduced to remove code duplications Mateusz Pusz 2023-06-13 17:32:52 +03:00
  • 9ab8136c98 refactor: has_unit_symbol() added Mateusz Pusz 2023-06-13 14:52:14 +03:00
  • 16ad71a31a test: more tests for pow added for units and quantity specs Mateusz Pusz 2023-06-13 09:21:07 +03:00
  • ee2abaf9f7 test: pow and sqrt checks added for fractional exponent quantity Mateusz Pusz 2023-06-13 09:18:19 +03:00
  • c79a76ab8f fix: pow, sqrt, and cbrt fixed for quantities Mateusz Pusz 2023-06-13 09:17:32 +03:00
  • 4330cabd59 feat: pow, sqrt, and cbrt support added for reference Mateusz Pusz 2023-06-13 09:14:53 +03:00
  • de4fefde3f fix: pow() fixed for quantity specs and units Mateusz Pusz 2023-06-13 09:14:01 +03:00
  • 211bd61895 refactor: sudo_cast improved to benefit from treat_as_floating_point Mateusz Pusz 2023-06-13 09:12:04 +03:00
  • 8a124ffbf0 test: custom_rep_test_min_impl updated for V2 Mateusz Pusz 2023-06-12 12:12:38 +03:00
  • 46f1a00f4b Revert "test: custom_rep_test_min_expl updated for V2" Mateusz Pusz 2023-06-12 12:10:46 +03:00
  • c8c865ec39 refactor(unit test): it seems that explicit operator* for LA usage is no longer needed Mateusz Pusz 2023-06-12 12:01:34 +03:00
  • 2b2f381ad5 test: custom_rep_test_min_expl updated for V2 Mateusz Pusz 2023-06-12 11:51:18 +03:00
  • 7b22155bf3 feat: linear algebra library usage re-enabled Mateusz Pusz 2023-06-12 11:47:30 +03:00
  • 272a8d8b5c refactor: QuantityConvertibleTo checks reordered to limit type truncation on conversion warnings Mateusz Pusz 2023-06-12 11:39:18 +03:00
  • 30b0a0c5df fix: RepSafeConstructibleFrom now works correctly with Arg being rvalue reference Mateusz Pusz 2023-06-12 11:38:36 +03:00
  • bb158a69e9 refactor: type_traits usage cleanup Mateusz Pusz 2023-06-12 11:37:39 +03:00
  • 4092700cf9 refactor: casts cleanup and improved Mateusz Pusz 2023-06-12 11:34:07 +03:00
  • 4d2ae79a05 test: some more test suites removed Mateusz Pusz 2023-06-11 20:13:35 +03:00
  • 3887b642fb test: SI tests updated for V2 Mateusz Pusz 2023-06-09 09:31:14 +02:00
  • 2dc420c505 fix: new quantity creation policy for irrational magnitudes forbids creation of longitude and latitude with an integral representation Mateusz Pusz 2023-06-08 22:19:34 +02:00
  • c46ecbd7db test: no longer needed test suites removed Mateusz Pusz 2023-06-08 22:08:19 +02:00
  • c22490290f fix: forgot to commit _quantity_spec_ member added to kind_of Mateusz Pusz 2023-06-08 22:02:34 +02:00
  • f9e1404e02 style: formatting updated to make pre-commit happy Mateusz Pusz 2023-06-08 22:01:40 +02:00
  • 2337ea9159 ci: clang-format updated in pre-commit Mateusz Pusz 2023-06-08 21:58:49 +02:00
  • 4c98c55cca test: angstrom test added to IAU Mateusz Pusz 2023-06-08 21:53:14 +02:00
  • 7c2072f01f test: typographic system tests added Mateusz Pusz 2023-06-08 21:49:58 +02:00
  • d0684c4644 fix: typographic system now explicitly uses international inch to define point Mateusz Pusz 2023-06-08 21:49:24 +02:00
  • 4e756f52d9 test: natural system tests added Mateusz Pusz 2023-06-08 21:29:16 +02:00
  • 340d2f5d2f test: angular tests updated to conform to the latest quantity creation policy (irrational magnitudes require floating-point representation type) Mateusz Pusz 2023-06-08 19:11:03 +02:00
  • ad3935cbfb test: Hubble constant unit symbol test added Mateusz Pusz 2023-06-08 19:10:02 +02:00
  • 9f8973e6f2 refactor: parsec definition refactored Mateusz Pusz 2023-06-08 19:09:20 +02:00
  • f853f1f4ef fix: magnitudes division fixed when units are divided Mateusz Pusz 2023-06-08 19:08:41 +02:00
  • f5e9b42fe1 fix(unit test): missing header file added Mateusz Pusz 2023-06-08 19:07:52 +02:00
  • 6f0f6b2213 feat: make_quantity() and op*(Representation, Unit are now correctly using quantity constructor constraints Mateusz Pusz 2023-06-08 17:41:48 +02:00
  • 05ed7dae88 feat: RepSafeConstructibleFrom now accounts for magnitude representation type Mateusz Pusz 2023-06-08 17:40:01 +02:00
  • 753c8e06d4 test: IAU system tests added Mateusz Pusz 2023-06-08 17:37:43 +02:00
  • 99aa02a83a feat: IAU system extended with new definitions Mateusz Pusz 2023-06-08 17:37:09 +02:00
  • 9d41fb33ef fix: RepSafeConstructibleFrom argument value category fixed Mateusz Pusz 2023-06-08 17:34:19 +02:00
  • dbcbdbcef5 docs: comments cleanup in tests Mateusz Pusz 2023-06-05 19:42:48 +02:00
  • 192bf39654 refactor: natural::speed_of_light_in_vacuum renamed to natural::speed_of_light Mateusz Pusz 2023-06-05 19:37:17 +02:00
  • 7a730fde58 refactor: constant_unit abstraction removed and replaced with regular named_unit Mateusz Pusz 2023-06-05 19:36:22 +02:00
  • 6364fcdf7e fix: IntermediateDerivedQuantitySpec now also accounts for kind_of Mateusz Pusz 2023-06-05 19:26:53 +02:00
  • 06e360ea6d refactor(unit test): angle_test renamed to angular_test Mateusz Pusz 2023-06-05 15:14:42 +02:00
  • 361ff5c3d1 test: international system tests added Mateusz Pusz 2023-06-05 15:06:06 +02:00
  • a6434e6b60 test: some checks from the old v2_framework example moved to proper unit tests Mateusz Pusz 2023-06-05 11:12:34 +02:00
  • 0745fd18f3 fix(unit test): BaseQuantitySpec now is proparly qualified with a detail:: namespace Mateusz Pusz 2023-06-05 11:11:10 +02:00
  • c2e91d41c4 fix: commutativity of a common_unit() fixed Mateusz Pusz 2023-06-05 11:09:02 +02:00
  • 6627b0a491 refactor: glide_computer and storage_tank examples renamed Mateusz Pusz 2023-06-02 13:52:00 +02:00
  • b4953bb0b5 chore: v2_framework example removed Mateusz Pusz 2023-06-02 13:51:14 +02:00
  • 067076143e fix(unit test): detail namespace applied to BaseDimension concept Mateusz Pusz 2023-06-02 10:57:04 +02:00
  • 2e759b29be test: fractional_exponent_quantity test added Mateusz Pusz 2023-06-02 10:54:47 +02:00
  • c5a0539cef refactor: all non-trigonometric math functions made constexpr Mateusz Pusz 2023-06-02 10:53:34 +02:00
  • 621faae8bc feat: sqrt() and cbrt() added for dimension, quantity_spec, and unit Mateusz Pusz 2023-06-01 08:49:08 +02:00
  • 14258c97fd refactor: magnitude::pow() now takes two ints rather than a ratio (consistent with the rest of library) Mateusz Pusz 2023-06-01 08:47:55 +02:00
  • 03b58ee073 refactor: square and cubic are now functions (not variable templates) Mateusz Pusz 2023-06-01 08:45:41 +02:00
  • 7771753163 refactor: make_quantity() forward declaration moved to the beginning of reference.h Mateusz Pusz 2023-05-30 12:06:46 +02:00
  • 45a4b2ac10 feat: make_quantity() usage added to quantity_spec Mateusz Pusz 2023-05-30 12:06:01 +02:00
  • 1a5f22f5c8 test: concepts test added Mateusz Pusz 2023-05-30 12:04:32 +02:00
  • 3713e08a95 refactor: library concepts cleanup Mateusz Pusz 2023-05-30 12:04:07 +02:00
  • d13165d9ae test: CGS tests added Mateusz Pusz 2023-05-27 17:26:06 +02:00
  • b59af895dd fix: CGS definitions fixed Mateusz Pusz 2023-05-27 17:25:43 +02:00
  • 4a93c30593 test: check for inHg and deg_F added to USC tests Mateusz Pusz 2023-05-27 17:24:55 +02:00
  • 1528d94293 chore: linear_algebra example removed Mateusz Pusz 2023-05-27 13:16:16 +02:00
  • 3f5765d229 chore: whitespace in gitpod.yml removed to make pre-commit happy Mateusz Pusz 2023-05-26 18:42:43 +02:00
  • fb54781543 build: magnitude_test disabled for now Mateusz Pusz 2023-05-26 18:36:35 +02:00
  • 6458cd343c ci: pre-commit related changes Mateusz Pusz 2023-05-26 17:05:33 +02:00
  • 1e36d47300 ci: downcast_mode testing removed Mateusz Pusz 2023-05-26 16:00:01 +02:00
  • 879ec35d84 build: conan test_package updated for V2 Mateusz Pusz 2023-05-26 15:57:14 +02:00
  • 40c08c0eae build: catch2 updated to 3.3.2 Mateusz Pusz 2023-05-26 15:56:43 +02:00
  • 4788aa64be build: linear_algebra test disables as the latest version of the LA lib is broken Mateusz Pusz 2023-05-26 15:28:54 +02:00