Commit Graph

28 Commits

Author SHA1 Message Date
Mateusz Pusz
84c773b82e test: unused work object removed 2026-01-29 17:45:57 +01:00
Mateusz Pusz
89070f79c6 test: gravitational_potential_energy definition in tests no match ISQ 2026-01-28 22:37:51 +01:00
Mateusz Pusz
2d2b92aae9 test: additional concepts tests for quantity spec added 2025-12-20 12:46:28 +01:00
Mateusz Pusz
e99cab98c9 test: duplicated dimensionless tests removed 2025-12-20 12:44:50 +01:00
Mateusz Pusz
7a010619fe style: clang-format-20 2025-08-23 17:45:07 +02: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
06cbfae3b3 feat: quantity_spec conversions improved 2024-12-28 14:02:03 +01:00
Mateusz Pusz
623930ccee refactor: convertible_impl refactored to convertible + results caching 2024-11-16 22:11:59 +01:00
Mateusz Pusz
6896d8e086 fix: velocity is now defined in terms of displacement instead of position_vector 2024-11-06 18:46:01 +01:00
Mateusz Pusz
2892fd83b0 test: more get_common_quantity_spec tests added 2024-11-05 08:06:45 +01:00
Mateusz Pusz
cc25f9b0de refactor: get_complexity refactored to returned maximum complexity of an element (instead of the sum of elements) 2024-11-04 19:13:48 +01:00
Mateusz Pusz
467d9a5558 refactor: get_complexity refactored to be 0-based and not account for a number of arguments in a list 2024-11-04 18:04:01 +01:00
Mateusz Pusz
73a003d0ef test: additional kind to quantity spec convertibility test added 2024-11-04 18:02:37 +01:00
Mateusz Pusz
dcab80525d refactor: 💥 common_XXX() functions renamed to get_common_XXX()
This is needed to release a name for `common_unit` type that is coming soon.
2024-09-24 09:36:59 +02:00
Mateusz Pusz
45013f6752 fix: inline restored for non-template constexpr global variables 2024-09-05 10:06:43 +02:00
Mateusz Pusz
2e840cfdb4 refactor: Repetitive inline constexpr removed as no longer needed
Not needed anymore as stated in cplusplus/draft#4601
2024-09-05 08:43:36 +02:00
Mateusz Pusz
b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
Mateusz Pusz
5f67523a8a feat: 💥 from now on quantity specifications have to be marked as final 2024-06-13 12:05:16 +02:00
Mateusz Pusz
6aa848a456 feat: 💥 from now on dimnensions have to be marked as final 2024-06-12 14:17:32 +02:00
Mateusz Pusz
c69bd140b2 refactor: all units made final 2024-06-06 13:18:45 +02:00
Mateusz Pusz
1ea2df9209 refactor: most std::remove_const_t removed and some replaced with the GCC-specific workaround 2024-06-01 09:12:16 +02:00
Mateusz Pusz
c066104af7 refactor: 💥 framework.h introduced + IWYU 2024-04-24 21:09:29 +02:00
Mateusz Pusz
5ca9168381 feat: proper exports implemented for C++ modules 2024-02-23 21:09:17 +01:00
Mateusz Pusz
1afb3d5c18 Merge branch 'master' of github.com:mpusz/units 2024-02-20 19:59:53 +01:00
Mateusz Pusz
cd61e077b7 test: a few quantity_spec tests added 2024-02-20 19:59:46 +01:00
Mateusz Pusz
f81e9bdcfe refactor: kind_of_ refactored to take a type to improve error messages 2024-02-20 19:49:22 +01:00
Mateusz Pusz
2e609d9d6d fix: add missing unit test changes 2024-02-13 21:14:00 +01:00
Mateusz Pusz
0eaf6e2e56 refactor: modules support redesigned 2024-01-06 08:51:01 +01:00