Commit Graph
2101 Commits
Author SHA1 Message Date
Mateusz Pusz 1b2d77af41 feat: quantities of the same kind can now be added, subtracted, or compared to each other 2023-01-28 11:00:50 +01:00
Mateusz Pusz 9a7a55b873 test: test's text output fixed after unit ordering change 2023-01-05 10:39:23 +01:00
Mateusz Pusz 163295842e test: initial version of linear_algebra_test added 2023-01-04 19:06:25 +01:00
Mateusz Pusz 1d83b7a99c fix: incorrect function trailing ; removed 2023-01-04 15:34:10 +01:00
Mateusz Pusz b78b53e757 build(example): custom_systems example removed as not relevant anymore 2023-01-04 15:32:13 +01:00
Mateusz Pusz da64f17895 feat: quantity::number_in(Unit auto) added + removed non-const lvalue overload of number()
Resolves #412
2023-01-03 17:44:44 +01:00
Mateusz Pusz 2cf736a1e6 feat: preventing possible future units crash when using namespace std;
Resolves #317
2022-12-29 20:18:48 +01:00
Mateusz Pusz 6b72dd39c1 refactor: headers with system definitions moved to _systems_ subdirectory 2022-12-29 19:27:54 +01:00
Mateusz Pusz 2571b36964 test: additional checks for dimensionless units added to iec80000 quantities 2022-12-29 19:01:32 +01:00
Mateusz Pusz c7d7c7d49f refactor: isq_angle refactored after consulting with Paul Quincey 2022-12-29 19:00:15 +01:00
Mateusz Pusz 97da55edfa refactor: the rest of the systems refactored for V2 2022-12-29 18:59:10 +01:00
Mateusz Pusz a9c190a7bf test: iec80000 unit test added 2022-12-27 12:51:28 +01:00
Mateusz Pusz 05da8b6153 fix: storage_capacity definition fixed 2022-12-27 12:50:47 +01:00
Mateusz Pusz 12e48ea3c0 fix: _quantity.h_ header added to _base_quantities.h_ to make all the definition complete 2022-12-27 12:49:21 +01:00
Mateusz Pusz 016984f1b3 feat: about half of IEC 80000 quantities support added 2022-12-27 12:20:23 +01:00
Mateusz Pusz 7ee95bcbeb test: metabench tests removed from repo 2022-12-27 11:04:49 +01:00
Mateusz Pusz 26ec17ceb2 refactor: experimental_angle example renamed to strong_angular_quantities + cotes angle fix 2022-12-27 10:56:13 +01:00
Mateusz Pusz f430e81202 style: CMake files reformatted to make pre-commit happy 2022-12-27 10:51:29 +01:00
Mateusz Pusz 6165392d84 test: isq_angle_test added 2022-12-27 10:50:35 +01:00
Mateusz Pusz 84c16b27bb refactor: cotes_angle renamed to cotes_angle_constant + cotes_angle constant introduced 2022-12-27 10:49:47 +01:00
Mateusz Pusz 3653053e48 refactor: experimental_angle example refactored for V2 2022-12-27 10:36:01 +01:00
Mateusz Pusz f0a91aa77e refactor: math functions constraints weakened to allow interoperability with more argument types 2022-12-27 10:29:48 +01:00
Mateusz Pusz eea25c13c7 feat: isq_angle system added 2022-12-27 10:25:31 +01:00
Mateusz Pusz 5914744e5d fix: solid_angular_measure definition fixed 2022-12-27 10:18:37 +01:00
Mateusz Pusz 58949bf22a feat: rad2 unit symbol added 2022-12-27 10:17:58 +01:00
Mateusz Pusz 210f401416 refactor: units ordering do need type_name (it also caused worse ordering on text output) 2022-12-27 10:08:59 +01:00
Mateusz Pusz ff14b49b68 refactor: additional unit tests enabled for the V2 build 2022-12-25 17:34:51 +01:00
Mateusz Pusz 9e5a95edef feat: deg unit symbol added to SI 2022-12-25 17:33:47 +01:00
Mateusz Pusz 2a3e1f6035 refactor: angular system created 2022-12-25 17:32:29 +01:00
Mateusz Pusz daf6d2fb7a refactor: downcasting-specific build options removed 2022-12-25 17:30:08 +01:00
Mateusz Pusz 1cec3d4867 refactor: _chrono.h_, _math.h_, and _random.h_ move to utlitity CMake module 2022-12-25 17:20:44 +01:00
Mateusz Pusz 07687f9ef6 refactor: _generic/dimensionless.h_ removed (units added to _unit.h_) 2022-12-25 17:14:54 +01:00
Mateusz Pusz fd26f8cdff refactor(example): glide computer refactored for V2 2022-12-23 19:24:56 +01:00
Mateusz Pusz 278dbace98 refactor(example): remaining kalman filter examples refactored for V2 2022-12-23 19:23:00 +01:00
Mateusz Pusz 770b9ab6ee refactor: basic_concepts removed 2022-12-23 19:21:35 +01:00
Mateusz Pusz b9f2b7fe9d refactor: std::chrono support refactored for V2 2022-12-23 19:21:01 +01:00
Mateusz Pusz a45088b859 refactor: quantity_point refactored for V2 2022-12-23 19:20:34 +01:00
Mateusz Pusz 4efbf81814 docs: another small cleanup of quantity 2022-12-23 19:16:23 +01:00
Mateusz Pusz 0987fffe99 fix: [[nodiscard]] removed from a format() function 2022-12-23 18:06:38 +01:00
Mateusz Pusz 9ad2cd5986 fix: QUANTITY_SPEC macros now use units:: namespace 2022-12-23 18:04:40 +01:00
Mateusz Pusz dd8fb22e6e feat: quantity is now a structural type
Resolves #411
2022-12-23 18:03:15 +01:00
Mateusz Pusz e2a2076c8d style: quantity header cleanup 2022-12-23 18:01:51 +01:00
Mateusz Pusz c056f4535c refactor: quantity_like types refactored 2022-12-23 17:58:57 +01:00
Mateusz Pusz a62c388d05 refactor: make_quantity helper not needed with the new syntax 2022-12-23 16:29:39 +01:00
Mateusz Pusz 0fc05850c8 refactor: trigonometric functions refactored for isq::angular_measure 2022-12-23 16:27:12 +01:00
Mateusz Pusz 62c3e5f2b6 fix: hypot implementation fixed 2022-12-23 13:44:40 +01:00
Mateusz Pusz 0caf998df1 refactor: reference::operator() return type constraints improved 2022-12-22 21:28:49 +01:00
Mateusz Pusz e61bfafd29 fix: consteval replaced with constexpr for quantity_spec::operator() 2022-12-22 21:28:03 +01:00
Mateusz Pusz 57d655062c refactor: quantity_spec::operator[] return type constraints improved 2022-12-22 21:26:51 +01:00
Mateusz Pusz 858cbb472f refactor: First examples refactored to a new quantity creation syntax 2022-12-22 18:06:20 +01:00