Commit Graph
2308 Commits
Author SHA1 Message Date
Mateusz Pusz 8ed82dfe96 refactor: DerivedFromQuantityKindSpecOf introduced to remove code duplications 2023-06-13 17:32:52 +03:00
Mateusz Pusz 9ab8136c98 refactor: has_unit_symbol() added 2023-06-13 14:52:14 +03:00
Mateusz Pusz 16ad71a31a test: more tests for pow added for units and quantity specs 2023-06-13 09:21:07 +03:00
Mateusz Pusz ee2abaf9f7 test: pow and sqrt checks added for fractional exponent quantity 2023-06-13 09:18:19 +03:00
Mateusz Pusz c79a76ab8f fix: pow, sqrt, and cbrt fixed for quantities 2023-06-13 09:17:32 +03:00
Mateusz Pusz 4330cabd59 feat: pow, sqrt, and cbrt support added for reference 2023-06-13 09:14:53 +03:00
Mateusz Pusz de4fefde3f fix: pow() fixed for quantity specs and units 2023-06-13 09:14:01 +03:00
Mateusz Pusz 211bd61895 refactor: sudo_cast improved to benefit from treat_as_floating_point 2023-06-13 09:12:04 +03:00
Mateusz Pusz 8a124ffbf0 test: custom_rep_test_min_impl updated for V2 2023-06-12 12:12:38 +03:00
Mateusz Pusz 46f1a00f4b Revert "test: custom_rep_test_min_expl updated for V2"
This reverts commit 2b2f381ad5.
2023-06-12 12:10:46 +03:00
Mateusz Pusz c8c865ec39 refactor(unit test): it seems that explicit operator* for LA usage is no longer needed 2023-06-12 12:01:34 +03:00
Mateusz Pusz 2b2f381ad5 test: custom_rep_test_min_expl updated for V2 2023-06-12 11:51:18 +03:00
Mateusz Pusz 7b22155bf3 feat: linear algebra library usage re-enabled 2023-06-12 11:47:30 +03:00
Mateusz Pusz 272a8d8b5c refactor: QuantityConvertibleTo checks reordered to limit type truncation on conversion warnings 2023-06-12 11:39:18 +03:00
Mateusz Pusz 30b0a0c5df fix: RepSafeConstructibleFrom now works correctly with Arg being rvalue reference 2023-06-12 11:38:36 +03:00
Mateusz Pusz bb158a69e9 refactor: type_traits usage cleanup 2023-06-12 11:37:39 +03:00
Mateusz Pusz 4092700cf9 refactor: casts cleanup and improved 2023-06-12 11:34:41 +03:00
Mateusz Pusz 4d2ae79a05 test: some more test suites removed 2023-06-11 20:13:35 +03:00
Mateusz Pusz 3887b642fb test: SI tests updated for V2 2023-06-09 09:31:14 +02:00
Mateusz Pusz 2dc420c505 fix: new quantity creation policy for irrational magnitudes forbids creation of longitude and latitude with an integral representation 2023-06-08 22:19:34 +02:00
Mateusz Pusz c46ecbd7db test: no longer needed test suites removed 2023-06-08 22:08:19 +02:00
Mateusz Pusz c22490290f fix: forgot to commit _quantity_spec_ member added to kind_of 2023-06-08 22:02:34 +02:00
Mateusz Pusz f9e1404e02 style: formatting updated to make pre-commit happy 2023-06-08 22:01:40 +02:00
Mateusz Pusz 2337ea9159 ci: clang-format updated in pre-commit 2023-06-08 21:58:49 +02:00
Mateusz Pusz 4c98c55cca test: angstrom test added to IAU 2023-06-08 21:53:14 +02:00
Mateusz Pusz 7c2072f01f test: typographic system tests added 2023-06-08 21:49:58 +02:00
Mateusz Pusz d0684c4644 fix: typographic system now explicitly uses international inch to define point 2023-06-08 21:49:24 +02:00
Mateusz Pusz 4e756f52d9 test: natural system tests added 2023-06-08 21:29:16 +02:00
Mateusz Pusz 340d2f5d2f test: angular tests updated to conform to the latest quantity creation policy (irrational magnitudes require floating-point representation type) 2023-06-08 19:11:03 +02:00
Mateusz Pusz ad3935cbfb test: Hubble constant unit symbol test added 2023-06-08 19:10:02 +02:00
Mateusz Pusz 9f8973e6f2 refactor: parsec definition refactored 2023-06-08 19:09:20 +02:00
Mateusz Pusz f853f1f4ef fix: magnitudes division fixed when units are divided 2023-06-08 19:08:41 +02:00
Mateusz Pusz f5e9b42fe1 fix(unit test): missing header file added 2023-06-08 19:07:52 +02:00
Mateusz Pusz 6f0f6b2213 feat: make_quantity() and op*(Representation, Unit are now correctly using quantity constructor constraints 2023-06-08 17:41:48 +02:00
Mateusz Pusz 05ed7dae88 feat: RepSafeConstructibleFrom now accounts for magnitude representation type 2023-06-08 17:40:01 +02:00
Mateusz Pusz 753c8e06d4 test: IAU system tests added 2023-06-08 17:37:43 +02:00
Mateusz Pusz 99aa02a83a feat: IAU system extended with new definitions 2023-06-08 17:37:09 +02:00
Mateusz Pusz 9d41fb33ef fix: RepSafeConstructibleFrom argument value category fixed 2023-06-08 17:34:19 +02:00
Mateusz Pusz dbcbdbcef5 docs: comments cleanup in tests 2023-06-05 19:42:48 +02:00
Mateusz Pusz 192bf39654 refactor: natural::speed_of_light_in_vacuum renamed to natural::speed_of_light 2023-06-05 19:37:17 +02:00
Mateusz Pusz 7a730fde58 refactor: constant_unit abstraction removed and replaced with regular named_unit 2023-06-05 19:36:22 +02:00
Mateusz Pusz 6364fcdf7e fix: IntermediateDerivedQuantitySpec now also accounts for kind_of 2023-06-05 19:26:53 +02:00
Mateusz Pusz 06e360ea6d refactor(unit test): angle_test renamed to angular_test 2023-06-05 15:14:42 +02:00
Mateusz Pusz 361ff5c3d1 test: international system tests added 2023-06-05 15:06:06 +02:00
Mateusz Pusz a6434e6b60 test: some checks from the old v2_framework example moved to proper unit tests 2023-06-05 11:12:34 +02:00
Mateusz Pusz 0745fd18f3 fix(unit test): BaseQuantitySpec now is proparly qualified with a detail:: namespace 2023-06-05 11:11:10 +02:00
Mateusz Pusz c2e91d41c4 fix: commutativity of a common_unit() fixed 2023-06-05 11:09:02 +02:00
Mateusz Pusz 6627b0a491 refactor: glide_computer and storage_tank examples renamed 2023-06-02 13:52:00 +02:00
Mateusz Pusz b4953bb0b5 chore: v2_framework example removed 2023-06-02 13:51:14 +02:00
Mateusz Pusz 067076143e fix(unit test): detail namespace applied to BaseDimension concept 2023-06-02 10:57:04 +02:00