Commit Graph
563 Commits
Author SHA1 Message Date
Mateusz Pusz 83aee04da0 refactor: quantity_io.h renamed to iostream.h 2023-02-03 16:57:48 +01:00
Mateusz Pusz b4f47c3fef feat: value_cast support added
Resolves #239 and #120
2023-02-03 11:08:13 +01:00
Mateusz Pusz cf3408a3c8 refactor: implementation cleanup + support for units as references started 2023-02-02 14:56:29 +01:00
Mateusz Pusz 622b3e3cbd test: unit_symbol() tests moved to a dedicated separate test file 2023-01-28 11:11:07 +01:00
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 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 7ee95bcbeb test: metabench tests removed from repo 2022-12-27 11:04:49 +01:00
Mateusz Pusz 6165392d84 test: isq_angle_test added 2022-12-27 10:50:35 +01:00
Mateusz Pusz ff14b49b68 refactor: additional unit tests enabled for the V2 build 2022-12-25 17:34:51 +01:00
Mateusz Pusz 2a3e1f6035 refactor: angular system created 2022-12-25 17:32:29 +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 82b1f7ffc0 refactor(example): RepresentationOf support added to examples 2022-12-20 17:26:55 +01:00
Mateusz Pusz b7884b90a8 Revert "feat: ISQ quantity names conflicts resolved with inline namespaces"
This reverts commit 043410d2f8.
2022-12-20 12:46:07 +01:00
Mateusz Pusz 043410d2f8 feat: ISQ quantity names conflicts resolved with inline namespaces 2022-12-20 11:20:47 +01:00
Mateusz Pusz 11d64094c1 refactor(unit test): symbol_text_test refactored for V2 2022-12-20 10:48:07 +01:00
Mateusz Pusz c30ce61c19 feat: electromagnetism quantity specifications added 2022-12-20 10:38:54 +01:00
Mateusz Pusz 7a26125e16 refactor: public headers cleanup
Public headers should be only the ones that a user may have a need to actually include in his/her code.
2022-12-19 14:55:54 +01:00
Mateusz Pusz a96c34c17a fix: exp() implementation fixed 2022-12-19 12:49:15 +01:00
Mateusz Pusz 026ce8a4e7 feat: thermodynamics quantity specifications added 2022-12-19 12:04:57 +01:00
Mateusz Pusz a9db8a1538 fix: mechanics quantity specifications fixed 2022-12-19 12:02:54 +01:00
Mateusz Pusz 5152db6382 test: ISQ quantities specification tests added 2022-12-17 16:18:14 +01:00
Mateusz Pusz 92c70f1a4e feat: quantity_spec support added 2022-12-16 18:15:48 +01:00
Mateusz Pusz 91f26759d6 refactor: more unit tests refactored 2022-12-01 20:59:16 +01:00
Mateusz Pusz 14952dfbf4 refactor(unit test): speed_of_light_unit renamed to speed_of_light_in_vacuum_unit in unit_test 2022-11-10 14:42:44 -10:00
Mateusz Pusz d75f22ecc4 feat: constant_unit support added 2022-11-10 09:55:43 -10:00
Mateusz Pusz 7b6fc18e20 refactor: distribution_test refactored for V2 2022-11-09 22:54:22 -10:00
Mateusz Pusz 3d536fb82b refactor: Unicode symbols directly provided in the code 2022-11-09 22:53:27 -10:00
Mateusz Pusz f2e63fdeb1 refactor: std::common_type usage replaced with dedicated functions for units, dimensions, and references 2022-11-09 18:39:51 -10:00
Mateusz Pusz 649252d691 refactor: system_reference moved to a dedicated header file 2022-11-09 18:33:39 -10:00
Mateusz Pusz 7423acd6a7 test: negative tests for formatting added 2022-11-08 11:19:12 -10:00
Mateusz Pusz 61b88b919f refactor: convertible() renamed to interconvertible() 2022-11-08 10:57:05 -10:00
Mateusz Pusz 3d1f339115 refactor: reference now takes NTTPs rather then types
Even though it makes error logs a bit more obscure it simplifies coding a lot.
2022-11-08 10:37:41 -10:00
Mateusz Pusz c32a4cea8a test: fmt tests refactored for V2 2022-11-07 16:21:30 -10:00
Mateusz Pusz 7e09a5f810 test: more static unit tests added 2022-11-07 16:19:42 -10:00
Mateusz Pusz e3863e8f8d refactor: unit_symbol_denominator renamed to unit_symbol_solidus 2022-11-07 16:18:11 -10:00
Mateusz Pusz 4938e9d5c0 feat: Added support for natural units-like systems + dimension_one cleanup 2022-11-04 19:29:05 +01:00
Mateusz Pusz 9915ae22b5 fix: __cpp_explicit_this_parameter spelling fixed 2022-10-25 19:31:41 +02:00
Mateusz Pusz cb861dd81a feat: system's definition highly simplified by removing the need for a system_reference for most cases 2022-10-25 07:27:08 +02:00
Mateusz Pusz 8dcdc7bdac fix: printing of symbols with fractional powers fixed 2022-10-23 22:19:44 +02:00
Mateusz Pusz e7bebac2a7 feat: power<Num, Den>() support added for dimensions and units 2022-10-23 10:47:12 +02:00
Mateusz Pusz 08b7716f51 feat: std::common_type support for unit added 2022-10-22 20:59:44 +02:00
Mateusz Pusz 17036cb2d0 feat: unit symbol text output support added 2022-10-22 19:27:39 +02:00
Mateusz Pusz aca8208568 test: dimension unit tests cleanup 2022-10-20 14:06:22 +02:00